Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with hidden worksheet

Status
Not open for further replies.

damrus

Technical User
Jun 22, 2008
24
0
0
PL
Hi,

I have problem with making sheets visible. I can't see them in Excel, but in VBAProject there are exist. When I try to change status for xlsheetvisible (in properties) I get message:
Setting properties is not possible...
 


Hi,

Please explain

1. what sheets are visible

2. which sheet's visible property you are trying to change FROM what TO what.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
In properties window in VBA "sheet1" has status:
Visible 0 xlSheetHidden
And I want to get status:
Visible -1 xlSheetVisible

If I want to change it I get the messagage that it's not possible.
I think it might be a protection for it.

So as result "sheet1" is not visible from Excel Application, but is visible in VBA.
 
Check workbook's protection. This can happen if the structure protection is on.

combo
 



Are you absolutely sure that you are not assigning the xlsheethidden property to the only visible sheet? Excel's message in this case is,

"Unable to set the Visible property of the Worksheet class."

What version are you running?

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top