View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mrogge2895 mrogge2895 is offline
external usenet poster
 
Posts: 9
Default Visual Basic 6.5 in Excel

When modiifying a macro recorded in excel, is there a way to program the code
to automatically recognize changes made within sheets used within the macro?
For example, if I record a macro, and later, I add a row above or below a
cell used within the macro, is there a way to force the macro to understand
the change in the cell reference as a result of adding the row? Currently,
whenever I write a macro, and subsequently add rows, the macro will not
execute due to the movement of the cell references from their original
location. I am trying to find out if this can be fixed in the programming.

Thanks.