How to make the macro move the focus of the screen to a textbox

Joined
Sep 28, 2017
Messages
4
I have a macro that makes several text boxes flash, one after the
other. It's to show new users of my template where to find the
clickable text boxes.

I can select one of the boxes using this line:

Code:
 ActiveSheet.Shapes("Text Box M303T1Fichero").Select

It works fine, but I then want to make another box flash that is initially off the bottom of the screen, and when I select it, the screen stays in the same position. Is there a way to make a text box visible (i.e. on the screen, rather
than below the screen), i.e., in the same way that if I select cell A300 that cell will become visible on the screen, I want my second text box to become visible.

As a workaround, I could move down to the row where the box appears, but I'd rather not, otherwise I have to update the macro if I add or remove rows before it.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Maybe something like this...

With Shapes("Text Box M303T1Fichero")
Range(.TopLeftCell.address).Select
End With
 
Upvote 0

Forum statistics

Threads
1,215,528
Messages
6,125,338
Members
449,218
Latest member
Excel Master

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