Hi,
I'm new to whole concept of programming macros...
I am trying to create a macro that uses users inputs from input boxes to obtain row and file name information inorder to tranfer data from one excel file to another. I tried to record a macro fist to test it out...however it will not work with the specified user inputs.
Here is my code:
'Selecting desired row to copy input
stRowColumn = "A" & stRowNumber
Range(stRowColumn).Select
'Obtaining cell to input from other file
stRowData = "R" & stDataRow
stRowColumnData = stRowData & "C1"
ActiveCell.FormulaR1C1 = "='[stFileName]sheet1'!stRowColumnData"
stRowNumber,stDataRow,and stFilename are all user inputs stored as strings.
Any help would be greatly appreciated!
Dani
Bookmarks