Thanks Skip,
I found a way to do it. I have defined three ranges:
- read_area for the whole read form
- edit_area for the whole edit form
- edit_area_values for just the green cells in the edit sheet
The code then loops through each cell of edit_area, and if it intersects with...
I can't upload the workbook as it includes sensitive information. Below is a screen shot of the read_area. This contains formulas in the grey boxes which will have results. On clicking the edit button, the idea is for these values to the copied to the green cells in the second screenshot. The...
Yes. Below code produces the below results. On the 11th pass it returns $J$37, but calling for Item(11) returns $I$34.
Dim cell_count As Integer
For Each cell In Range(read_area)
cell_count = cell_count + 1
Debug.Print cell_count & " | " & Range(read_area).Item(cell_count).Address & "...
I have two named ranges which each contain multiple areas.
read_area ='Read_Sheet'!$I$24:$I$33,'Read_Sheet'!$J$37,'Read_Sheet'!$C$40,'Read_Sheet'!$E$42
edit_area ='Edit_Sheet'!$V$54:$V$63,'Edit_Sheet'!$U$67,'Edit_Sheet'!$T$70,'Edit_Sheet'!$V$72
I'd like to copy the value from each cell in...
Thanks to MajP, I played around with msgbox and managed to solve the problem. I am now setting the value of [Forms]![Order Detail]![txtOrderID] in the form open event, and the requery the listbox in the same event. It appears to work. I can only assume that the value of [Forms]![Order...
I don't know what I am doing wrong here. It is doing my head in but hopefully it is something simple.
I have a query as follows
SELECT [Count List].Barcode, [Count List].[No Units in Carton], [Count List].[No Cartons], [Count List].[No Singles], [_Item List Current QRY].LastOfDescription...
I have a formula which returns a preview of a larger string. For example, the full string is "Customer has called twice complaining about his package not arriving."
I use a combination of the LEN and LEFT functions to return a preview of this string for the user. This might appear as "Customer...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.