View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
darxoul darxoul is offline
external usenet poster
 
Posts: 8
Default prob. running macro from diff. sheet

I have this line in my macro:

Worksheets("ABC").Columns("A:A").Select

If I run this macro when I am in a different sheet, it gives the run-time
error 1004. How can I avoid this? What is the reason?

Thx in advance.