ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Unhiding worksheets (https://www.excelbanter.com/excel-discussion-misc-queries/88953-unhiding-worksheets.html)

Oldjay

Unhiding worksheets
 
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay


James Hamilton

Unhiding worksheets
 
FORMAT - SHEET - UNHIDE

"Oldjay" wrote:

I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay


Don Guillett

Unhiding worksheets
 
goto the vb editortoolsreferenceslook for missing

--
Don Guillett
SalesAid Software

"Oldjay" wrote in message
...
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay




Oldjay

Unhiding worksheets
 
This only shows the regular hidden sheets

"James Hamilton" wrote:

FORMAT - SHEET - UNHIDE

"Oldjay" wrote:

I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay


Oldjay

Unhiding worksheets
 
I can't find a reference "look for missing". I also "browed" the references

"Don Guillett" wrote:

goto the vb editortoolsreferenceslook for missing

--
Don Guillett
SalesAid Software

"Oldjay" wrote in message
...
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay





Dave Peterson

Unhiding worksheets
 
Don wanted you to click on Tools|references
and look for a missing reference.

If you have a reference marked as missing, then uncheck it and try your code
once more.

Oldjay wrote:

I can't find a reference "look for missing". I also "browed" the references

"Don Guillett" wrote:

goto the vb editortoolsreferenceslook for missing

--
Don Guillett
SalesAid Software

"Oldjay" wrote in message
...
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay





--

Dave Peterson

Oldjay

Unhiding worksheets
 
I don't see anything that says "missing reference", Please give me a more
detailed instruction
Thanks

"Dave Peterson" wrote:

Don wanted you to click on Tools|references
and look for a missing reference.

If you have a reference marked as missing, then uncheck it and try your code
once more.

Oldjay wrote:

I can't find a reference "look for missing". I also "browed" the references

"Don Guillett" wrote:

goto the vb editortoolsreferenceslook for missing

--
Don Guillett
SalesAid Software

"Oldjay" wrote in message
...
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay





--

Dave Peterson


Oldjay

Unhiding worksheets
 
I have found the problem. Thanks for replying

oldjay

"Oldjay" wrote:

I don't see anything that says "missing reference", Please give me a more
detailed instruction
Thanks

"Dave Peterson" wrote:

Don wanted you to click on Tools|references
and look for a missing reference.

If you have a reference marked as missing, then uncheck it and try your code
once more.

Oldjay wrote:

I can't find a reference "look for missing". I also "browed" the references

"Don Guillett" wrote:

goto the vb editortoolsreferenceslook for missing

--
Don Guillett
SalesAid Software

"Oldjay" wrote in message
...
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay





--

Dave Peterson


Don Guillett

Unhiding worksheets
 
Care to share the final solution for the archives

--
Don Guillett
SalesAid Software

"Oldjay" wrote in message
...
I have found the problem. Thanks for replying

oldjay

"Oldjay" wrote:

I don't see anything that says "missing reference", Please give me a more
detailed instruction
Thanks

"Dave Peterson" wrote:

Don wanted you to click on Tools|references
and look for a missing reference.

If you have a reference marked as missing, then uncheck it and try your
code
once more.

Oldjay wrote:

I can't find a reference "look for missing". I also "browed" the
references

"Don Guillett" wrote:

goto the vb editortoolsreferenceslook for missing

--
Don Guillett
SalesAid Software

"Oldjay" wrote in message
...
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay





--

Dave Peterson




Saruman

Unhiding worksheets
 
In Excel, go to Tools, Macros, Visual Basic Editor

In the properties window, there is a Visible Property with 3 settings:

Visible, Hidden and Very Hidden.

The very hidden CANNOT be unhidden from just inside Excel, you have to use
the Visual Basic Editor

Saruman

----------------------------------------------------------------------------
---------
All Outgoing Mail Checked With Norton Antivirus 2003
----------------------------------------------------------------------------
---------

"Oldjay" wrote in message
...
I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay





All times are GMT +1. The time now is 06:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com