while braking down your vba code found a yt video that's doing something similar but in a different way.
tried to apply it to your code but gives a mistyped error
your
to
basically i wanted to use the "hours" column size as reference not column "a" but for some reason excel does not allow it, although for the range(range.. code it works
strangely for me tried to replicate it in a blank document with a1=1, a2=2 etc as header and it works. but the moment a1= anything than 1, a2= anything but 2 gives an error
could you please explain why this happens, and why in your code isn't possible to use "hours" column as reference?
also is there any difference in functionality between the Range(Range....code and Resize(Cells(Rows... code?
thanks
Bookmarks