ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro to go to A1 Cell (https://www.excelbanter.com/excel-discussion-misc-queries/181230-macro-go-a1-cell.html)

Winnipeg Michael

Macro to go to A1 Cell
 
I have done this before, but cant recall how its done.

I want to create a button with a macro on it, so when I hit the button, the
highlighted cell will be the A1 Cell. I know I need to create the macro
first; thats the problem I am having right now.

Thanks,
Michael

Gary''s Student

Macro to go to A1 Cell
 
Sub routine()
Range("A1").Select
End Sub

--
Gary''s Student - gsnu200775


"Winnipeg Michael" wrote:

I have done this before, but cant recall how its done.

I want to create a button with a macro on it, so when I hit the button, the
highlighted cell will be the A1 Cell. I know I need to create the macro
first; thats the problem I am having right now.

Thanks,
Michael


Winnipeg Michael

Macro to go to A1 Cell
 
Hey Gary"s Student, thanks.
I knew it was an easy one, just wasnt getting it correct.
I better keep this post for future reference.

Thanks again,
Michael



"Gary''s Student" wrote:

Sub routine()
Range("A1").Select
End Sub

--
Gary''s Student - gsnu200775


"Winnipeg Michael" wrote:

I have done this before, but cant recall how its done.

I want to create a button with a macro on it, so when I hit the button, the
highlighted cell will be the A1 Cell. I know I need to create the macro
first; thats the problem I am having right now.

Thanks,
Michael


Gord Dibben

Macro to go to A1 Cell
 
CTRL + Home will take you to A1 if there are no frozen panes.


Gord Dibben MS Excel MVP

On Tue, 25 Mar 2008 11:21:01 -0700, Winnipeg Michael
wrote:

I have done this before, but cant recall how its done.

I want to create a button with a macro on it, so when I hit the button, the
highlighted cell will be the A1 Cell. I know I need to create the macro
first; thats the problem I am having right now.

Thanks,
Michael




All times are GMT +1. The time now is 10:19 AM.

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