Hi protonleah,
Watch Window
I spent about an hour and a half playing around with the "watch" window and, while I do see what's happening, I def don't know enough of VBA yet to know how this can help me. Great future reference though and I do thank you for taking the time to write that part out.
The "TestHeader" loop
This part is very interesting to me as almost all my macros seem to require at least 2 things...
1. Macro must be found by column header (name)
2. Column header is always in first row
You wrote the code here to find the column header by name...
I wanted to do a test to see how the macro recorder version of this would be to put the text "Water" in the column header named "Drink" and this is what I came up with...
I know for a fact that your code MUST be better but don't yet understand why.
To make this simple so that I can understand the difference between "macro recorder code" and "protonleah code", if you wouldn't mind, would you show the same result using your code to put the word "Water" in the second row of the column header named "Drink"?
I'll be very interested to see how this looks...thanks much!
Bookmarks