Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Transfer data from one workbook to another workbook based on a key

Hello,

Ideally, I would like to accomplish the following:

1. Have 2 workbooks open
2. Both workbooks would have a column as a key field to match on; this
column can be named ID.
3. Transfer data from workbook1 to workbook2 based on ID matching.
4. The data being transferred does not necessarily have to be in the same
columns; i.e. I should be able to specify (workbook1-column C) goes to
(workbook2 - column G), for example.

This probably should go by pairing like this:

Specify in workbook1 : (ID & COUNT)
Specify in workbook2 : (ID & ASSETS)

essentially, COUNT would be copied to ASSETS based on ID match.

Is there anyway to do this? Interactively, if at all possible.

Any help would be appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Transfer data from one workbook to another workbook based on a key

Luther: I don't know what your skill level is with VBA. It can be done. It
looks like you need 3 or 4 list boxes. Both workbooks need a header row with
lables. The list boxes would contain the labels of both workbooks that the
user can select to determine the columns that will be used for matching and
the source column and destination column that gets copied.

Try Lesson 5 on this microsoft website
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx



"Luther" wrote:

Hello,

Ideally, I would like to accomplish the following:

1. Have 2 workbooks open
2. Both workbooks would have a column as a key field to match on; this
column can be named ID.
3. Transfer data from workbook1 to workbook2 based on ID matching.
4. The data being transferred does not necessarily have to be in the same
columns; i.e. I should be able to specify (workbook1-column C) goes to
(workbook2 - column G), for example.

This probably should go by pairing like this:

Specify in workbook1 : (ID & COUNT)
Specify in workbook2 : (ID & ASSETS)

essentially, COUNT would be copied to ASSETS based on ID match.

Is there anyway to do this? Interactively, if at all possible.

Any help would be appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Transfer data from one workbook to another workbook based on a

Thank you for the pointer. I am goin to check this lesson.

"Joel" wrote:

Luther: I don't know what your skill level is with VBA. It can be done. It
looks like you need 3 or 4 list boxes. Both workbooks need a header row with
lables. The list boxes would contain the labels of both workbooks that the
user can select to determine the columns that will be used for matching and
the source column and destination column that gets copied.

Try Lesson 5 on this microsoft website
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx



"Luther" wrote:

Hello,

Ideally, I would like to accomplish the following:

1. Have 2 workbooks open
2. Both workbooks would have a column as a key field to match on; this
column can be named ID.
3. Transfer data from workbook1 to workbook2 based on ID matching.
4. The data being transferred does not necessarily have to be in the same
columns; i.e. I should be able to specify (workbook1-column C) goes to
(workbook2 - column G), for example.

This probably should go by pairing like this:

Specify in workbook1 : (ID & COUNT)
Specify in workbook2 : (ID & ASSETS)

essentially, COUNT would be copied to ASSETS based on ID match.

Is there anyway to do this? Interactively, if at all possible.

Any help would be appreciated.

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
Transfer data from a cell to another workbook if certain criteria breezy Excel Worksheet Functions 15 January 11th 12 07:45 AM
How to transfer data from one workbook to another via VBA Adnan Excel Discussion (Misc queries) 0 August 1st 08 06:42 PM
Transfer data from one workbook to a form in another workbook NCSooner63 Excel Programming 0 May 11th 07 06:42 PM
Data transfer from a template to a workbook Nick Excel Worksheet Functions 0 April 20th 06 05:26 PM
Transfer pivot table data to another workbook [email protected] Excel Programming 3 November 1st 05 05:25 PM


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