PC Review


Reply
Thread Tools Rate Thread

copy data from several workbooks to a master workbook

 
 
=?Utf-8?B?Q3Jlb2xh?=
Guest
Posts: n/a
 
      17th Oct 2006
wanting to use macros to track task completed by our team's administrative
assistants. Have four workbooks, the master workbook where the information
is copied to and then each admin has a separate workbook where they record
the date they completed the task. I don't want to have to go into each
workbook to see what's being completed.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?ZnVnYXppNDg=?=
Guest
Posts: n/a
 
      30th Oct 2006
okay, you probably already figured this out. I usually assign my master
sheet a variable name in my macros so it will work with name changes. I will
be calling the other sheets generic names that you will have to hard code or
ask for in a popup.


dim cname
cname = activeworkbook.name


windows("bob.xls").activate
call Getdata123
windows("paul.xls").activate
call Getdata123
windows("stan.xls").activate
call Getdata123
windows("Flo.xls").activate

sub Getdata123(cname)

sheets("sheet1").select
range("a1:az24").select
selection.copy
windows(cname).activate
range("a1").select
Selection.Insert Shift:=xlDown


end sub



"Creola" wrote:

> wanting to use macros to track task completed by our team's administrative
> assistants. Have four workbooks, the master workbook where the information
> is copied to and then each admin has a separate workbook where they record
> the date they completed the task. I don't want to have to go into each
> workbook to see what's being completed.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to copy specific data from master workbook to another workbook Mark767 Microsoft Excel Programming 13 1st Sep 2009 08:57 PM
Copy Rows from master workbook & paste in other workbooks farid2001 Microsoft Excel Programming 5 2nd Oct 2008 01:25 PM
macro to copy data to master workbook. sharmashanu Microsoft Excel Programming 2 23rd Jul 2008 03:16 AM
Copy Data from Multiple Closed Workbooks to Open Workbook Kris Microsoft Excel Programming 3 31st Oct 2006 08:36 PM
compare two ranges in different workbooks and copy data to a new workbook Kaza Sriram Microsoft Excel Programming 7 2nd Aug 2004 05:04 PM


Features
 

Advertising
 

Newsgroups
 


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