Navigate To A Cell and Have It Show At The Top Of Your Screen (Within A Macro)

miketurn

Active Member
Joined
Dec 8, 2016
Messages
268
Have a few macros that would benefit from this greatly, but don't think I have seen this included.

Is there any macro code that when added, that can allow any macro that navigates your selection cursor (black rectangle) to a specific cell/row that when it navigates it places the result (row / cell) at the top of your screen?

I think I have only seen this be utilized in one macro, which I will find and link below....
This one was different than most though because it was based on removing the ability to double click within a cell to edit, so that may have something to do with it?
@Fluff Response - Number 6
https://www.mrexcel.com/forum/excel-questions/1021609-hyperlink-style-search-macro.html

The macro that I am currently looking for this ability to be used with can be found here...

https://www.mrexcel.com/forum/excel...te-next-cell-bold-text-macro.html#post4928169


Thank You to anyone who reads this and for any help offered.
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Let's say you want to put cell AB123 at the top of the screen...

Range("AB123").Select
ActiveWindow.ScrollRow = ActiveCell.Row
 
Upvote 0
You could try Application.Goto.
Code:
Application.Goto Range("Z456"), True
 
Upvote 0
@Rick Rothstein / @Norie
Thank you guys for the responses, these both work well but they require you to enter a specific cell location into the macro, but could something like this be done when you do not have a specific cell to navigate to, like say in the case of a "find (search)" like in the example NUMBER 3 of this thread given by @Peter_SSs?
https://www.mrexcel.com/forum/excel...te-next-cell-bold-text-macro.html#post4928169

This macro uses the "find" tool to navigate to the next bold text item, so the cell location really would not be known, is there a way to accomplish this without having to give specific cell info in the macro?

Probably not because I believe the "find" tools navigations are more part of Excels coding and not macro, but I obviously may be incorrect.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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