View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Nicole Seibert Nicole Seibert is offline
external usenet poster
 
Posts: 60
Default Automation (error 1004)

I need a surefire way to setup a macro to be re-run (a thousand times even).
I have tried to delcare ap, workbook, and worksheet as variables and then
insert xlsheet before all necessary lines; however, it never works right.

Then I get other errors and I end up rewriting about a 1/3 of my code.

What are some really good ways for setting up a macro for automation that
you have discovered?