Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default macro to copy to another workbook

Hi,

Any help with creating a macro to do this would be greatly appreciated. Not
a VB guru.
The open workbook is called 15.xls. What I'm trying to do is copy this
workbook to a destination workbook called "template.xls" and have that
entire workbook 15.xls to appear on the template on the sheet called
"Inventory3.xls" Down the road it would be used again and again. Thats why
would rather not just do copy/past . Any help on how u write a quick macro
for this would be
greatly appreciated.

Thanks,

Tom

  #2   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default macro to copy to another workbook



"Tom" wrote:

Hi,

Any help with creating a macro to do this would be greatly appreciated. Not
a VB guru.
The open workbook is called 15.xls. What I'm trying to do is copy this
workbook to a destination workbook called "template.xls" and have that
entire workbook 15.xls to appear on the template on the sheet called
"Inventory3.xls" Down the road it would be used again and again. Thats why
would rather not just do copy/past . Any help on how u write a quick macro
for this would be
greatly appreciated.

Thanks,

Tom

  #3   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default macro to copy to another workbook

I also forgot to add, that within the workbook called "template.xls" the
info from the workbook "15.xls, would want all the info copied to a sheet
called "inventory3" that is in the "template.xls" forgot to add that part
in my first post.

Thanks again

"Tom" wrote:

Hi,

Any help with creating a macro to do this would be greatly appreciated. Not
a VB guru.
The open workbook is called 15.xls. What I'm trying to do is copy this
workbook to a destination workbook called "template.xls" and have that
entire workbook 15.xls to appear on the template on the sheet called
"Inventory3.xls" Down the road it would be used again and again. Thats why
would rather not just do copy/past . Any help on how u write a quick macro
for this would be
greatly appreciated.

Thanks,

Tom

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default macro to copy to another workbook

Why not simply rename the worksheet that has all of the data to
"inventory3", then save the workbook as "template.xls"? I don't think you
need a macro.

It sounds like you are doing something more complex than this. If so, then
post additional details.

--
Regards,
Bill Renaud



  #5   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default macro to copy to another workbook

Hi Bill,

Yes, you are correct down the road it will be something more complex..
Dealing with about 50 workbooks being pulled into workbook called
"template.xls with it going to "sheet 2" but as of right now what were
trying to do is just get the one file called 15.xls going into "sheet 2"..
there are a bunch of differents sheets going into template.xls files and
where just trying to get this one thing done first.. any help would be
greatly apprecaited..

"Bill Renaud" wrote:

Why not simply rename the worksheet that has all of the data to
"inventory3", then save the workbook as "template.xls"? I don't think you
need a macro.

It sounds like you are doing something more complex than this. If so, then
post additional details.

--
Regards,
Bill Renaud






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default macro to copy to another workbook

You still need to post more details. You first mentioned that "15.XLS" was
going to be copied to a worksheet named "inventory3" in "template.XLS",
now, it is going to be copied to "Sheet2". Your requirements are shifting,
which means a program cannot yet be written.

Does "15.XLS" have more than 1 worksheet?
Do the worksheets go to different worksheets in the template?

Etc, etc.

It is not very complex if each workbook to be imported has only 1
worksheet, and all data (except for row 1, which is assumed to be headers)
is simply copied to the template (or master) workbook. If each workbook to
be imported has different column labels at the top, then it could get more
complex.
--
Regards,
Bill Renaud



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default macro to copy to another workbook

I ran the following search term ("with all of the words") on the web and
came up with a lot of results that you might be interested in:

combine Excel workbooks into single workbook

--
Regards,
Bill Renaud



  #8   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default macro to copy to another workbook

Hi Bill,

I guess I might have confused you in my other posts. Okay in the workbook
called 15.xls has no sheets in it. The workbook called Template.xls
sheet2 is called Inventory3. Sorry my apologies for that mistake.. So
what we want is the workbook called 15.xls to be automatically copied to the
workbook called Template.xls on sheet 2.. lol I hope this clears up any of
my confusion for ya.

Thanks for your help in this matter

"Bill Renaud" wrote:

I ran the following search term ("with all of the words") on the web and
came up with a lot of results that you might be interested in:

combine Excel workbooks into single workbook

--
Regards,
Bill Renaud




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
Copy Macro to a new workbook Saalim Excel Discussion (Misc queries) 5 November 17th 08 05:14 PM
Macro to copy an image (or picture) from one workbook to a new sheetin another workbook Ruchir Excel Worksheet Functions 1 July 25th 08 07:29 AM
Copy workbook, don't copy macro CongroGrey Excel Discussion (Misc queries) 1 June 13th 08 04:56 PM
Macro to Copy From One Workbook To Another [email protected] Excel Discussion (Misc queries) 3 June 25th 07 02:48 AM
Need a macro to copy a range in one workbook and paste into another workbook Paul Excel Programming 8 July 1st 04 07:42 AM


All times are GMT +1. The time now is 07:18 AM.

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"