ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to jump to specific cell (https://www.excelbanter.com/excel-programming/376953-how-jump-specific-cell.html)

Milax

How to jump to specific cell
 
Can anyone help me,
How can I make Excel to jump to specific cell depending on another cell
value. For example if in list box are stored values from 1 to 10 how
can go to column B row (number stored in list box)

Example:
Cell A1=1 --- jump to B1
Cell A1=5 --- jump to B5

Thanks!

Bob Phillips

How to jump to specific cell
 
application.goto range("B" & Listbox1.Value)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Milax" wrote in message
...
Can anyone help me,
How can I make Excel to jump to specific cell depending on another cell
value. For example if in list box are stored values from 1 to 10 how
can go to column B row (number stored in list box)

Example:
Cell A1=1 --- jump to B1
Cell A1=5 --- jump to B5

Thanks!




Milax

How to jump to specific cell
 
Bob Phillips wrote:
application.goto range("B" & Listbox1.Value)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Milax" wrote in message
...

Can anyone help me,
How can I make Excel to jump to specific cell depending on another cell
value. For example if in list box are stored values from 1 to 10 how
can go to column B row (number stored in list box)

Example:
Cell A1=1 --- jump to B1
Cell A1=5 --- jump to B5

Thanks!




Thanks!


All times are GMT +1. The time now is 05:15 AM.

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