Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Copying hidden pages

Hi
I have a workbook with hidden and unhidden worksheets. I have a macro
button on sheet 1 with the following code:

Private Sub CommandButton2_Click()
Sheets(Array("Sheet2", "Sheet3", "Sheet4", _
"Sheet5", "Sheet6", "Sheet7", "Sheet8", _
"Sheet9")).Copy
End Sub

This copies all sheets to a new workbook and works fine on my pc at
homerunning excel 2000. However, I transferred it to my workbook on my pc at
work, running excel 97 and I get a runtime error - it won't copy the unhidden
sheets. Is this a shortfall of xl97? if so is there any way of copying
hidden sheets in this manner??

--
Thanks!
---------
Gareth
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
Not Printing Hidden Pages Trish711 Excel Discussion (Misc queries) 1 January 8th 10 05:21 PM
Cycle through non-hidden pages only Steve Excel Discussion (Misc queries) 6 October 16th 08 08:06 PM
Hidden Columns No Longer Hidden after Copying Worksheet? EV Nelson Excel Discussion (Misc queries) 1 December 6th 06 05:10 PM
Copying and Pasting from Web Pages Christina Excel Discussion (Misc queries) 0 March 29th 06 07:56 PM
Pages hidden with manual breaks still print D Poole Excel Discussion (Misc queries) 1 February 10th 06 02:43 PM


All times are GMT +1. The time now is 08:27 AM.

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

About Us

"It's about Microsoft Excel"