A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Very Hidden



 
 
Thread Tools Display Modes
  #1  
Old September 9th, 2004, 03:30 PM
external usenet poster
 
Posts: n/a
Default Very Hidden

Hi, I've got a workbook from someone with a veryhidden
worksheet that I need to get to. When I try and set the
properties to either visible or just hidden I get a
message 'Unable to set the visible property of the
worksheet class'

This sheet has got some complex formula on that need
ammending to make the front sheet work.

I've got two questions. A) How can I make it visible? B)
Its quite cool, how do I do this to other worksheets?

cheers

John
  #2  
Old September 9th, 2004, 03:55 PM
Harald Staff
external usenet poster
 
Posts: n/a
Default

Hi John

I believe your Workbook is protected. It's done to prevent unhiding and
renaming sheets.

Hide sheets with a macro like thi:

Sheets(2).Visible = xlVeryHidden

HTH. Best wishes Harald

skrev i melding
...
Hi, I've got a workbook from someone with a veryhidden
worksheet that I need to get to. When I try and set the
properties to either visible or just hidden I get a
message 'Unable to set the visible property of the
worksheet class'

This sheet has got some complex formula on that need
ammending to make the front sheet work.

I've got two questions. A) How can I make it visible? B)
Its quite cool, how do I do this to other worksheets?

cheers

John



  #3  
Old September 9th, 2004, 04:00 PM
Ken Macksey
external usenet poster
 
Posts: n/a
Default

Hi

To make sheets xlveryhidden, you must use code.
You cannot make all sheets xlveryhidden. One sheet must be visible.

an example,

Private Sub CommandButton1_Click()

For i = 2 To Sheets.Count
Sheets(i).Visible = xlVeryHidden
Next i


End Sub


Will hide all sheets but sheet 1


while

Private Sub CommandButton2_Click()

For i = 2 To Sheets.Count
Sheets(i).Visible = True
Next i


End Sub


will unhide all hidden sheets.


HTH

Ken


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.744 / Virus Database: 496 - Release Date: 24/08/2004


  #4  
Old September 9th, 2004, 04:02 PM
Ken Macksey
external usenet poster
 
Posts: n/a
Default

Hi

And Harald as usual is right. The sheets and wb must not be protected when
you do this.

Ken


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.744 / Virus Database: 496 - Release Date: 24/08/2004


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hyperlinks to hidden slides (powerpoint) JimiHendrix27 Powerpoint 6 August 8th, 2004 07:52 AM
hidden slide won't display Linette Powerpoint 1 August 3rd, 2004 05:36 PM
SUM- hidden rows Manos Worksheet Functions 4 March 4th, 2004 01:14 PM
Hidden worksheets displaying on opening randula Worksheet Functions 1 October 7th, 2003 04:49 PM


All times are GMT +1. The time now is 10:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.