Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default help with copying of excel spread sheet from template trought VB

Guys/Ladies,

I need to copy template sheet in the work book with VB.
Anubody help??

Mike


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default help with copying of excel spread sheet from template trought VB

dim ws as worksheet
set ws = thisworkbooks.worksheets("???")
ws.copy

change ??? to the sheet name

"Mike" wrote in message
...
Guys/Ladies,

I need to copy template sheet in the work book with VB.
Anubody help??

Mike

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default help with copying of excel spread sheet from template trought VB

Just a note to Patricks code. If Befo= or After:= is not specified, it
will create a new workbook.



"Patrick Molloy" wrote in message
...
dim ws as worksheet
set ws = thisworkbooks.worksheets("???")
ws.copy

change ??? to the sheet name

"Mike" wrote in message
...
Guys/Ladies,

I need to copy template sheet in the work book with VB.
Anubody help??

Mike



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
copying spread sheet Linda Barone Excel Discussion (Misc queries) 2 February 24th 09 07:25 PM
Adding a new template spread sheet on the first day of a new month Dobbin0_4[_2_] Excel Discussion (Misc queries) 1 January 23rd 09 11:53 PM
how do I make a template from an existing excel spread sheet? Don Excel Worksheet Functions 1 September 12th 06 04:15 AM
spread sheet template for monthly business for a year lkeller Excel Discussion (Misc queries) 0 August 30th 05 03:00 AM
Making a spread sheet template Kyle New Users to Excel 1 May 19th 05 03:02 PM


All times are GMT +1. The time now is 09:23 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"