Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jk jk is offline
external usenet poster
 
Posts: 109
Default Codeing for hiding sheet

Hello,
What is the code used to hide a sheet in the workbook?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Codeing for hiding sheet

Just record a macro of that action and you will get the code.

Bob Flanagan
Macro Systems
144 Dewberry Drive
Hockessin, Delaware, U.S. 19707

Phone: 302-234-9857, cell 302-584-1771
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"jk" wrote in message
...
Hello,
What is the code used to hide a sheet in the workbook?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default xlVeryHidden

If you want to be sure the user can't see it, you can use
"xlSheetVeryHidden" adn to show it again use "xlSheetVisible". Here with
codename of the sheet intestead of the name of the sheet otherwise exchange
Sheet1. with Worksheet("Sheet1").

Sub VeryHideSheet
Sheet1.Visible = xlSheetVeryHidden
End sub

Sub ShowSheet
Sheet1.Visible = xlSheetVisible
End sub


/regards


"jk" skrev i meddelandet
...
Hello,
What is the code used to hide a sheet in the workbook?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default Codeing for hiding sheet

In article ,
says...
Hello,
What is the code used to hide a sheet in the workbook?

Thanks

In addition to the suggestions you've already received, you may want to
check the discussion at
Very Hidden Worksheets
http://www.dailydoseofexcel.com/arch...en-worksheets/

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
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 sheet in a workbook Curtis Excel Worksheet Functions 2 April 19th 06 08:39 PM
Hiding a sheet John Baker Excel Programming 1 January 25th 05 12:10 AM
create a sheet but hiding it crispbd[_18_] Excel Programming 0 November 8th 04 08:04 PM
Hiding a sheet James L Excel Programming 1 April 16th 04 10:49 AM
help in codeing sangita Excel Programming 1 January 16th 04 05:38 PM


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

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

About Us

"It's about Microsoft Excel"