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
Resolved · Low Priority · Version Standard
Excel VBA
Why don't macros work when I hide my main data worksheet?For upcoming training course dates see: Pricing & availability
RE: Excel VBA
Hi FlorenceMacros 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
|
|
» Forum post: Custom filter |



Course updates

