View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
helphelp helphelp is offline
external usenet poster
 
Posts: 3
Default Difficulty with macro in excel 2007.

I have a website from which I download data and run macros for sorting data.
When I recors a macro in excel 2007, the macro looks for a specific file name
instead of using the active worksheet. For eg:
Sheets("userexport-23").Select. Everytime I download the -23 changes, Please
tell me how I can change the code to make the macro run in any worksheet.
Thanks

Prashanth