Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy cell to another cell using Macro Robert B. Excel Worksheet Functions 16 November 7th 07 06:43 PM
macro to move part of cell contents to another cell icetoad hisself Excel Discussion (Misc queries) 4 November 27th 06 07:19 PM
using a cell value to control a counter inside a macro and displaying macro value ocset Excel Worksheet Functions 1 September 10th 06 05:32 AM
Using macro to copy a part of a cell content to next cell Charles Excel Discussion (Misc queries) 6 May 31st 06 05:57 AM
Macro for cell selection starting with Last Cell Valerie Excel Worksheet Functions 4 December 9th 05 08:25 PM


All times are GMT +1. The time now is 05:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"