LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Save from a template to XLS only visible sheets


bhofsetz Wrote:
You have to have an open workbook for the sheets to be copied to so have
the code create a new workbook with the desired name in the desired
path. Then copy all the visible sheets to that workbook. Then save.

Ok I guess opening a new one will be ok.

bhofsetz Wrote:
I'm not sure why you are getting a | Run-Time Error 9 | | subscript out
of range | error if the destination workbook is open.
Try copying and pasting my code directly into a module and run it as is
to see if you still get the same error.


I tried pasting this code into a module and I still get the error.
I will post my worksheet tonight at home for download at
http://www.wieduwilt.us/excel

I just can not figure out what is going on, there could be a conflict
with the existing code.


--
swieduwi
------------------------------------------------------------------------
swieduwi's Profile: http://www.excelforum.com/member.php...o&userid=21962
View this thread: http://www.excelforum.com/showthread...hreadid=380140

 
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
i need visible study template Ali Excel Discussion (Misc queries) 1 December 27th 06 12:14 AM
Printing all Visible sheets Darin Kramer Excel Programming 2 March 30th 05 05:38 PM
visible sheets Bombermanx Excel Programming 3 November 12th 04 02:03 PM
HELP!! Cannot set any sheets to visible cassidyr1[_4_] Excel Programming 1 October 27th 04 02:19 PM
HELP!! Cannot set any sheets to visible cassidyr1[_3_] Excel Programming 1 October 26th 04 06:36 PM


All times are GMT +1. The time now is 08:30 PM.

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

About Us

"It's about Microsoft Excel"