Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Hiding a Worksheet

Try it this way:

worksheets(1).visible = xlSheetVeryHidden


--
Hope that helps.

Vergel Adriano


"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

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
hiding the worksheet Narnimar Excel Discussion (Misc queries) 8 July 12th 07 05:30 AM
Hiding a Worksheet oceanmist Excel Discussion (Misc queries) 3 June 14th 07 04:48 PM
Hiding a Worksheet Tom Ogilvy Excel Programming 0 March 27th 07 11:21 PM
Hiding a Worksheet TheChris Excel Worksheet Functions 2 February 2nd 06 05:21 PM
Hiding a worksheet while formatting it Bill Youngman Excel Worksheet Functions 2 May 11th 05 01:38 PM


All times are GMT +1. The time now is 04:35 AM.

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"