ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,953
- Office Version
- 2007
- Platform
- Windows
Hi,
This is what i am trying to do.
On a worksheet "A" i run a command button code to open another workbook / worksheet "B" & then insert a new row at row 3
I see the workbook / worksheet open BUT the row isnt inserted on the correct sheet "B", it opens on the sheet i am running the code from "A"
Please advise
This is what i am trying to do.
On a worksheet "A" i run a command button code to open another workbook / worksheet "B" & then insert a new row at row 3
I see the workbook / worksheet open BUT the row isnt inserted on the correct sheet "B", it opens on the sheet i am running the code from "A"
Please advise
Rich (BB code):
Private Sub CommandButton1_Click()
Workbooks.Open ("C:\Users\Ian\Desktop\REMOTES ETC\DR\EXCEL WORKSHEETS\MOTORCYCLES.xlsm")
Worksheets("INVOICES").Activate
Rows("3:3").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
End Sub