Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Macro or VB to copy data between two workbooks by column A match

I have a Main tab in workbook one that will have a list of ascending
non-contiguous phone numbers in column A with data in several columns. These
are in the form of 8001234567 (the cells are formatted to show them as
800-123-4567)
I have a second and third workbook with spreadsheet that will be organized
the same way.
I need to automatically copy the data on each row (specific number of
columns) from workbook two to the Main sheet in workbook one by matching the
phone numbers then pasting the data offset by several columns so the data is
next to the Main sheets original data.
If the number does not exist on the main sheet I need the macro to insert a
row at the right place in the main sheet , add the phone number in column A
and add then add the data.
The third workbook copy and paste will work the same but the data will
offset to a different set of columns.
Can this be set up as macro buttons in the main spread sheet?
I can configure the names of the two source workbooks to be some common name
for the imports or combine into one workbook etc

--
Chuck
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
Macro to copy data when data is detected in another column(s). Richard Excel Worksheet Functions 2 October 23rd 09 11:46 PM
Copy/ move selected data from workbooks to seperate worksheets or workbooks Positive Excel Worksheet Functions 1 August 30th 07 04:54 PM
When data match, copy adjacent value to adjacent column slimbim Excel Worksheet Functions 2 November 8th 06 08:41 PM
I need data to copy to the next available cell in a column from a macro JasonK Excel Programming 2 March 30th 06 09:40 AM
Macro to copy data down a column Neddy[_7_] Excel Programming 3 March 23rd 06 07:55 PM


All times are GMT +1. The time now is 12:35 PM.

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"