best training excel intermediate - excel vba

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » best training excel intermediate - Excel VBA

best training excel intermediate - Excel VBA

resolvedResolved · Low Priority · Version Standard

Florence has attended:
Excel VBA Intro Intermediate course

Excel VBA

Why don't macros work when I hide my main data worksheet?

RE: Excel VBA

Hi Florence

Macros need to physically access the sheets that contain the data to be manipulated.

If a sheet is hidden the system cannot access it. To get around this:

In the code you need to unhide the relevant sheet, thenrun the relevant code and then rehide the sheet. The code is:

Sheets("Sheet3").Visible = True 'Unhides Sheet3

<The code to manipulate data>

Sheets("Sheet3").Visible = False 'Hides Sheet3


Hope this helps

Carlos

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Screen Splitters in Excel

Screen splitter icons can be set from the ribbon bar, or dragged from the scroll bars. The icon just above the up arrow on the right scroll bar controls the horizontal splitter; the icon to the right of the right arrow on the bottom scroll bar controls the vertical splitter.

These icons can be double-clicked to split the screen at the top left of the cell currently in use.

View all Excel hints and tips


Server loaded in 0.05 secs.