- Joined
- Nov 10, 2011
- Messages
- 5
- Reaction score
- 0
Hi, I am trying to copy the information in column B in one workbook and open another workbook and copy in a sheet in there, below is my code;
<code>
Columns("A").Select
Selection.Copy
Application.Workbooks.Open ("F:\SPREAD\Billy\excel\Excel VBA Test 2 No Help.xls")
Sheets("Sheet3").Activate
Columns("B").Select
Columns("B").PasteSpecial
<code>
can someone tell me why it is not working? runtime error appears at colums("B").select, it should be selecting that column on the Excel VBA Test 3 No Help workbook
<code>
Columns("A").Select
Selection.Copy
Application.Workbooks.Open ("F:\SPREAD\Billy\excel\Excel VBA Test 2 No Help.xls")
Sheets("Sheet3").Activate
Columns("B").Select
Columns("B").PasteSpecial
<code>
can someone tell me why it is not working? runtime error appears at colums("B").select, it should be selecting that column on the Excel VBA Test 3 No Help workbook
Last edited: