LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
SHO SHO is offline
external usenet poster
 
Posts: 5
Default Macro to copy data

I have a file with data in the same cells that I wish to copy into another
file. I have to do this constantly and wondered if I could achieve this with
a macro? The data I wish to copy is in various cells in the first file e.g.
A1, A2, A5, C1, C2, C5 etc, therefore I have named this as a range called
copy_data.

I then need to bring this into a seperate file into various cells e.g. cell
A1 from the first file needs to go into B1 of the second file. I cannot set a
formula up for this as the first file will be a different filename each time
(although the layout remains the same).

Does naming the range copy_data in the first file help or will I have to
relate each cell seperately to achieve this macro?

Any ideas as to the code required?

Thanks in advance.
 
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
Macro to copy data when data is detected in another column(s). Richard Excel Worksheet Functions 2 October 23rd 09 11:46 PM
Macro: Copy data to another sheet Anders[_2_] Excel Discussion (Misc queries) 3 October 18th 09 01:43 PM
Macro to copy & paste data Satish Excel Discussion (Misc queries) 3 December 18th 08 04:50 AM
Copy data in a macro. jfaz Excel Discussion (Misc queries) 1 July 13th 07 12:26 PM
Macro to copy data from One sheet to another Jurassien Excel Discussion (Misc queries) 1 January 22nd 07 10:52 PM


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