Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary
 
Posts: n/a
Default Macro Auto Run Problem

Hi,

I created the macro, also got it run automatically whenever we open a
workbook.

Now, the problem is that this data is linked to charts (Pareto Charts that
need to be sorted) and the sheets that contain this data are hidden.
The macro is working fine if the sheets are not hidden and if i hide them it
gives me an error :(

Help Please..


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Michael M
 
Posts: n/a
Default Macro Auto Run Problem

Hi Gary
Can you unhide the sheets during the running of the macro and then rehide
them after the task is completed.
Try putting

Sheets(1).Visible = False
Sheets(1).Visible = True

If you don't want any user possibly seeing the sheets during the operation
Also include
Application.screenupdating=False
at the beginning of the code
and
Application.screenupdating=True
at the end

HTH
Michael M

in your code

"Gary" wrote:

Hi,

I created the macro, also got it run automatically whenever we open a
workbook.

Now, the problem is that this data is linked to charts (Pareto Charts that
need to be sorted) and the sheets that contain this data are hidden.
The macro is working fine if the sheets are not hidden and if i hide them it
gives me an error :(

Help Please..



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
excelent
 
Posts: n/a
Default Macro Auto Run Problem

Hi Gary and Michael
Sorry im interupting ur question, but i got a problem
I simply cant start a new question
I try click on New and select question, but nothin happens
can any of u help me out please

sry my french im from Denmark :-)

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with auto macro on closing mr_teacher Excel Discussion (Misc queries) 3 May 17th 06 01:07 PM
Problem in macro Micos3 Excel Discussion (Misc queries) 2 February 23rd 06 02:20 PM
problem with macro on Excel Captain Picard Excel Worksheet Functions 0 February 1st 06 09:20 PM
Problem Editing Macro in Shared Excel File [email protected] Excel Discussion (Misc queries) 1 March 19th 05 06:43 PM
Problem executing a macro from different workbook where it is Sergio Calleja Excel Discussion (Misc queries) 1 January 17th 05 12:38 PM


All times are GMT +1. The time now is 06:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"