Hi I am trying a lesson to learn about VBA. Not sure if I should ask this here. I have been doing it again and again for hours. I also appreciate that left in is all the Microsoft stuff which could be stripped out. I have left it in so as to show that the code has not been messed with.
I have uploaded an excel file “ExcelForum100”
There are two macros
Ctrl-shift-L which is a simple absolute macro and runs perfectly.
Ctrl-Shift-A which is a simple Relative macro which I cannot get running.
Sheet one is from a shorter list and is what I get from the absolute macro.
Sheet is a slightly larger list to demonstrate the flexibility of a relative macro. You will see it is missing the total.
Sheet three is the file used to create the macro which works fine.
Honestly I am totally flummoxed.
This is a course I am doing so as to be able to understand the directions from you so despite being an odd request is actually related to here….I hope.
The line which is stopping it all seems to be 5 from the bottom
“ActiveCell.Offset(-1, -3).Range("A1").Select”
Mark
Bookmarks