Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I need help to create a code that makes the sheets in a workbook hidde or unhidden. I have screwed up and now my sheets are Veryhidden from the bar! Anyone? Thanks, Thoma -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thomas,
First bit makes them all visible Second bit makes the first worksheet hidden (but not VeryHidden) Sub test() Dim wks As Worksheet For Each wks In ActiveWorkbook.Worksheets wks.Visible = xlSheetVisible Next ActiveWorkbook.Worksheets(1).Visible = xlSheetHidden End Sub -- Rob van Gelder - http://www.vangelder.co.nz/excel "Jonsson " wrote in message ... Hi all, I need help to create a code that makes the sheets in a workbook hidden or unhidden. I have screwed up and now my sheets are Veryhidden from the bar! Anyone? Thanks, Thomas --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Jonsson ,
worksheets("Results").visible=true 'xlHidden to hide, xlVeryHidden to very hide -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Jonsson " wrote in message ... Hi all, I need help to create a code that makes the sheets in a workbook hidden or unhidden. I have screwed up and now my sheets are Veryhidden from the bar! Anyone? Thanks, Thomas --- Message posted from http://www.ExcelForum.com/ |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Alt+F11 takes you to the VBE. Select your project in the Project window,
then select each sheet in turn. In the properties window (hit F4 if not visible), select visible and change to xlSheetVisible. -- Regards, Tom Ogilvy "Jonsson " wrote in message ... Hi all, I need help to create a code that makes the sheets in a workbook hidden or unhidden. I have screwed up and now my sheets are Veryhidden from the bar! Anyone? Thanks, Thomas --- Message posted from http://www.ExcelForum.com/ |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
wrkBook is the name of the worksheet in thich you want to add the work
sheets :-) i think it will help you out For l = 0 To 4 wrkBook.Worksheets.Add Next l --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I make Excel 2007 chart sheets visible | Charts and Charting in Excel | |||
How to repeat a code for selected sheets (or a contiguous range of sheets) in a Workbook? | Excel Worksheet Functions | |||
3 sheets in workbook, but visible only one? | Excel Discussion (Misc queries) | |||
make hidden window or workbook visible without specify the name | Excel Worksheet Functions | |||
unprotect sheet in code and make sheet visible | Excel Programming |