Hello,
Here's my situation.
In worksheet "A", I click a certain cell which opens a form. When I'm done with the form, I want to determine which row the worksheet it was on before the form opened.
This method fails:
'Worksheets("A").ActiveCell.Row' returns a runtime error (438 - Object doesn't support this property or method).
This method works:
'Application.ActiveCell.Row'
Would using Application... be the best way to handle this and why wouldn't calling the sheet by it's name not work?
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!
Here's my situation.
In worksheet "A", I click a certain cell which opens a form. When I'm done with the form, I want to determine which row the worksheet it was on before the form opened.
This method fails:
'Worksheets("A").ActiveCell.Row' returns a runtime error (438 - Object doesn't support this property or method).
This method works:
'Application.ActiveCell.Row'
Would using Application... be the best way to handle this and why wouldn't calling the sheet by it's name not work?
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!