Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel VBA - Importing columns from different sheets
I'm currently trying to write a Macro that will do the following:
1) Go to first row of a column on spreadsheet 1 and copy its contents. 2) Go to spreadsheet two and search for what was copied(It's all in single column 3) Extract the ID number from that row and copy it(same row as above just different column) 4) Go back to spreadsheet 1 and paste that ID number into the fis column of the original row. Now, I got a for loop that will go through all of spreadsheet 1, an with each iteration will concatenate the incrementing value with th row. Once it acquires the data, it should paste it back into th correct row and column of the first spreadsheet. However, I am having problems with the data that needs to be copied an search for on the two spreadsheets. I want the data that is bein copied and searched to change with iteration, yet don't know how to d this, as atm the variables are all static. Suggestions anyone -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Lining up 3 excel sheets/ 4 columns/all different | Excel Worksheet Functions | |||
Importing data from access to excel to a specific columns | Links and Linking in Excel | |||
multiple sheets when importing into excel | Excel Worksheet Functions | |||
IMPORTING SHEETS | New Users to Excel | |||
Importing data from several sheets, to one chart | Charts and Charting in Excel |