Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macros for copying the data


Hi Freinds,
can some body help me with this common problem....
I am trying to create a macro to access an excel file (for example
"file2")kept in our shared drive.

I require the data from columns A & Col B of "File2" and paste it in
"file 1" sheet 2. Also i need this macro to be kept in the "file1"

But the problem is that the data in the file 2 keeps on changing.....I
dont know how shud i go abt creating this macro.

Any help is appreciated

Anand



--
mehta_agm
------------------------------------------------------------------------
mehta_agm's Profile: http://www.excelforum.com/member.php...o&userid=30518
View this thread: http://www.excelforum.com/showthread...hreadid=501936

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Macros for copying the data

Open File 1
Record a macro when you open File2.
Keep recording when you copy the data you want (A1:Bxx)
and record when you paste into the correct worksheet in File1.
and record when you close file2 without saving.


mehta_agm wrote:

Hi Freinds,
can some body help me with this common problem....
I am trying to create a macro to access an excel file (for example
"file2")kept in our shared drive.

I require the data from columns A & Col B of "File2" and paste it in
"file 1" sheet 2. Also i need this macro to be kept in the "file1"

But the problem is that the data in the file 2 keeps on changing.....I
dont know how shud i go abt creating this macro.

Any help is appreciated

Anand


--
mehta_agm
------------------------------------------------------------------------
mehta_agm's Profile: http://www.excelforum.com/member.php...o&userid=30518
View this thread: http://www.excelforum.com/showthread...hreadid=501936


--

Dave Peterson
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
macros for copying external data to Excel Bradly Excel Discussion (Misc queries) 2 April 6th 09 03:22 AM
Macros - copying macros from one computer to another TT Excel Discussion (Misc queries) 18 December 14th 06 03:24 AM
copying macros Louise Excel Worksheet Functions 4 May 26th 06 04:26 PM
copying macros Louise Excel Worksheet Functions 2 May 18th 06 04:51 PM
Copying data from another cell, I think there are macros sami123 Excel Discussion (Misc queries) 1 August 11th 05 02:41 PM


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