ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hiding a Worksheet (https://www.excelbanter.com/excel-programming/386155-re-hiding-worksheet.html)

Tom Ogilvy

Hiding a Worksheet
 
It works fine for me. Are you sure it isn't being applied to the wrong
workbook.

If you are getting an error, is the workbook protected?

--
Regards,
Tom Ogilvy


"Marek" wrote:

Hi,

Am trying to hide a worksheet through VBA code. The line of code below
ought to do that:

worksheets(1).visible = xlveryhidden

But it doesn't work!!

Anyone with ideas??

--
Many thanks in advance for any assistance
Marek



All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com