ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Ref Edit (https://www.excelbanter.com/excel-programming/338627-ref-edit.html)

Bill[_30_]

Ref Edit
 
Hello,
I have a dialog box where I use the Ref Edit to allow someone to enter a
cell range. They can enter a range that is not on the active sheet. For
example, they are sheet1 and can enter a cell on sheet3. The address I get
from the form is something like Sheet3!B3. But when I try to select that
range using range(Sheet3!B3) I get an error message. How can I select the
sheet and cell they entered?

Thanks,

Bill



Tom Ogilvy

Ref Edit
 
Application.Goto Range("Sheet3!B3"), True

--
Regards,
Tom Ogilvy

"Bill" wrote in message
ink.net...
Hello,
I have a dialog box where I use the Ref Edit to allow someone to enter a
cell range. They can enter a range that is not on the active sheet. For
example, they are sheet1 and can enter a cell on sheet3. The address I

get
from the form is something like Sheet3!B3. But when I try to select that
range using range(Sheet3!B3) I get an error message. How can I select the
sheet and cell they entered?

Thanks,

Bill






All times are GMT +1. The time now is 08:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com