Go to cell based on another cell

davidathoegh

New Member
Joined
Oct 6, 2010
Messages
16
Hi all,

I have been having trouble trying to figure this out.

Sheet1 L26 has a cell address which varies. I would like to go to this cell on Sheet2.

e.g. if the value of Sheet1 L26 = A4, I would like to select cell A4 on Sheet2.

I have attempted to use this code that I found online with little success

Sheets("Sheet1").Select
Range(Range("L26").Value).Select

Could someone point me in the right direction?

Many thanks,

Dave
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Code:
Sheets("Sheet2").Select
Range(Sheets("Sheet1").Range("L26").Value).Select

But note that selecting is often unnecessary and only slows down the code execution.
 
Upvote 0
Another way:

Code:
Application.Goto Reference:="Sheet2!" & Application.ConvertFormula(Range("L26").Value, xlA1, xlR1C1)
 
Upvote 0

Forum statistics

Threads
1,216,019
Messages
6,128,311
Members
449,439
Latest member
laurenwydo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top