jameshunt83
Board Regular
- Joined
- Oct 2, 2010
- Messages
- 149
I have a worksheet called "1.xlsx". I have an active x form button on this sheet.
When this button is clicked I need it to open a second workbook called "2.xlsx". In cell A1 of "1.xlsx" I have a value. I need the macro to look which line in "2.xlsx" this value appears in column A and then copy the value in column B of this to "1.xlsx" cell A2 and also copy the value on that row in column C to "1.xlsx" cell A6.
The value in A1 will only appear on one line in the second workbook
Help greatly appreciated!
When this button is clicked I need it to open a second workbook called "2.xlsx". In cell A1 of "1.xlsx" I have a value. I need the macro to look which line in "2.xlsx" this value appears in column A and then copy the value in column B of this to "1.xlsx" cell A2 and also copy the value on that row in column C to "1.xlsx" cell A6.
The value in A1 will only appear on one line in the second workbook
Help greatly appreciated!