ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   VBA code to insert one worksheet into another (https://www.excelbanter.com/excel-discussion-misc-queries/141859-vba-code-insert-one-worksheet-into-another.html)

mcnewsxp

VBA code to insert one worksheet into another
 
i need the VBA code to insert a worksheet that is used as a template into
another workbook. the code may include 1 or more insertions of different
templates so i 'd like to get them on sequential wortksheets within the
workbook.
tia,
mcnewsxo



AKphidelt

VBA code to insert one worksheet into another
 
So what you are trying to do is grab a worksheet from another workbook and
put it in the new workbook... or are you just trying to insert a new
worksheet?

"mcnewsxp" wrote:

i need the VBA code to insert a worksheet that is used as a template into
another workbook. the code may include 1 or more insertions of different
templates so i 'd like to get them on sequential wortksheets within the
workbook.
tia,
mcnewsxo




mcnewsxp

VBA code to insert one worksheet into another
 
So what you are trying to do is grab a worksheet from another workbook and
put it in the new workbook... or are you just trying to insert a new
worksheet?

the former.
i will use one spreadsheet as a template.
open the template spreadsheet, create a new spreadsheet and copy the
template into the new spreadsheet.
the code will detect if i need to add other template worksheets into the
newly created workbook.

"mcnewsxp" wrote:

i need the VBA code to insert a worksheet that is used as a template into
another workbook. the code may include 1 or more insertions of different
templates so i 'd like to get them on sequential wortksheets within the
workbook.
tia,
mcnewsxo







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

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