I'm trying (and failing) to write a little macro that selects a range from one workbook to transfer to another.
I named a Workbook 1 "InputWB" and the other Workbook "OutputWB".
Why is the following code not working? Any ideas are more than welcome.
Dim InputWB, OutputWBAs Workbook
InputWB.Worksheets("Database").Range(Cells(1, 2), Cells(4, 34)).Copy
And then I will past it in another outputsheet, but for some reason the Workbook.Worksheet does not seem to work.