Well there is no way to click a button on a worksheet and have another
workbook be the activeworkbook - should have recognized that fallacy from
the start. If you want to select a range in another workbook, you would
need to activate that workbook first.
Private Sub cmdAddBtn1_Click()
Workbooks("HEA Payments.xls").Activate
ActiveWorkbook.Sheets("HEA Payments").Activate
Activeworkbook.Sheets("HEA Payments").Range("A1") _
.End(xlDown).Offset(1, 0).Select
End Sub
Change the first line of code to reflect the actual name of the workbook.
--
Regards,
Tom Ogilvy
"Garry" wrote in message
...
Tom
Tx for the quick reply.
No that didn't work either. I tried a reboot too.
Could I be Activating the workbook/sheet too many times?
What would be the fully qualified statement?
Tx
garrygdc
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!