Hi
I have a table in the range A4:W40. I recorded a macro that enters a VLOOKUP formula into cells U4, V4 and W4 then fills them down to row 22. I need to change this macro because sometimes I need the macro to fill down to row, 30, sometimes to row 20. It all depends on the values contained in column A. The first few rows in column A will all contain the text 'SG', the rest will be 'AU'. I only need the macro to fill down where the value in column A is SG.
The macro:
Also, I'm sure that this macro is probably a little convoluted and could be a little more elegant.
If anyone can offer any help with this, I'd be very appreciative.
Cheers!
Bookmarks