ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do I create a macro to "Go To" a location specified in a cell? (https://www.excelbanter.com/excel-programming/331382-how-do-i-create-macro-go-location-specified-cell.html)

kim.in.denver

how do I create a macro to "Go To" a location specified in a cell?
 
Based on user input, I have used formulas to create a variable location in
cell A1. I need a macro that will "Go To" that location. Since the row and
column are variable I can't use a Range Name.

Any ideas?

Ron de Bruin

how do I create a macro to "Go To" a location specified in a cell?
 
Hi Kim

Try this
Range(Range("A1").Value).Select


--
Regards Ron de Bruin
http://www.rondebruin.nl


"kim.in.denver" wrote in message
...
Based on user input, I have used formulas to create a variable location in
cell A1. I need a macro that will "Go To" that location. Since the row and
column are variable I can't use a Range Name.

Any ideas?




kim.in.denver

how do I create a macro to "Go To" a location specified in a c
 
you are a super star!!!! thank you so much :o)
"Ron de Bruin" wrote:

Hi Kim

Try this
Range(Range("A1").Value).Select


--
Regards Ron de Bruin
http://www.rondebruin.nl


"kim.in.denver" wrote in message
...
Based on user input, I have used formulas to create a variable location in
cell A1. I need a macro that will "Go To" that location. Since the row and
column are variable I can't use a Range Name.

Any ideas?






All times are GMT +1. The time now is 02:35 PM.

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