Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Customize Quick Access Toolbar




Subject: Customize Quick Access Toolbar
I am using Excel 2007. I have read several articles on internet how to customize QAT. What I want to do is to add a button which shows as Home icon and then call a Marco from Home Icon to switch me to a specific worksheet. My excel file had several worksheets. While I am entering data in 10th worksheet and if I want to return to worksheet 1, I can click on Home icon.

How do I do that?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Customize Quick Access Toolbar

Hello,

First, go to the VBA editor (ALT+F11), insert a new module (InsertModule) and paste this code (where Sheet1 is the "Home" tab):

Sub GoHome()
Sheet1.Activate
'Sheet1.Range("A1").Activate
End Sub

Now, click the Office Button Excel Options. From there, click Customize. In the "Choose Commands" drop down, select "Macros". Click the "GoHome" macro and Add it to the QAT. Once it shows up on the right side of the screen, click the "GoHome" macro and click "Modify" to assign it a picture (there is a Home picture that seems to be the logical choice). Click OK and voila! Now, you can click the Home icon from the QAT and it will take you directly to the Home tab. Alternatively, you could go to a specific cell on the tab by removing the apostrophe from the second line of the macro.

Ben
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Customize Quick Access Toolbar

On Wednesday, September 19, 2012 10:30:20 PM UTC-4, Ben McClave wrote:
Hello, First, go to the VBA editor (ALT+F11), insert a new module (InsertModule) and paste this code (where Sheet1 is the "Home" tab): Sub GoHome() Sheet1.Activate 'Sheet1.Range("A1").Activate End Sub Now, click the Office Button Excel Options. From there, click Customize. In the "Choose Commands" drop down, select "Macros". Click the "GoHome" macro and Add it to the QAT. Once it shows up on the right side of the screen, click the "GoHome" macro and click "Modify" to assign it a picture (there is a Home picture that seems to be the logical choice). Click OK and voila! Now, you can click the Home icon from the QAT and it will take you directly to the Home tab. Alternatively, you could go to a specific cell on the tab by removing the apostrophe from the second line of the macro. Ben


Ben:

Thanks so much, your response so useful.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Customize Quick Access Toolbar

On Wednesday, September 19, 2012 11:00:48 PM UTC-4, (unknown) wrote:
On Wednesday, September 19, 2012 10:30:20 PM UTC-4, Ben McClave wrote:

Hello, First, go to the VBA editor (ALT+F11), insert a new module (InsertModule) and paste this code (where Sheet1 is the "Home" tab): Sub GoHome() Sheet1.Activate 'Sheet1.Range("A1").Activate End Sub Now, click the Office Button Excel Options. From there, click Customize. In the "Choose Commands" drop down, select "Macros". Click the "GoHome" macro and Add it to the QAT. Once it shows up on the right side of the screen, click the "GoHome" macro and click "Modify" to assign it a picture (there is a Home picture that seems to be the logical choice). Click OK and voila! Now, you can click the Home icon from the QAT and it will take you directly to the Home tab. Alternatively, you could go to a specific cell on the tab by removing the apostrophe from the second line of the macro. Ben




Ben:



Thanks so much, your response so useful.


Happy to help
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Customize Quick Access Toolbar

On Sep 20, 2:14*am, wrote:
Subject: Customize Quick Access Toolbar
I am using Excel 2007. I have read several articles on internet *how to customize QAT. What I want to do is to add a button which shows as Home icon and then call a Marco from Home Icon to switch me to a specific worksheet. My excel file had several worksheets. While I am entering data in 10th worksheet and if I want to return to worksheet 1, I can click on Home icon.

How do I do that?


The standard way to do this is with an add-in, so a .xla file. Have a
look at that.

RBS


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Customize Quick Access Toolbar

On Sep 20, 10:53*am, "
wrote:
On Sep 20, 2:14*am, wrote:

Subject: Customize Quick Access Toolbar
I am using Excel 2007. I have read several articles on internet *how to customize QAT. What I want to do is to add a button which shows as Home icon and then call a Marco from Home Icon to switch me to a specific worksheet. My excel file had several worksheets. While I am entering data in 10th worksheet and if I want to return to worksheet 1, I can click on Home icon..


How do I do that?


The standard way to do this is with an add-in, so a .xla file. Have a
look at that.

RBS


Sorry, this went to the wrong thread and ignore this.

RBS
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
unable to customize quick access toolbar in excel 07 klofosho New Users to Excel 1 September 4th 09 08:00 PM
Can't Customize Quick Access Toolbar bmccullough Excel Discussion (Misc queries) 3 July 9th 09 03:04 PM
Quick Access Toolbar Tigerxxx Excel Discussion (Misc queries) 3 February 21st 09 06:49 PM
quick access toolbar Jan Excel Discussion (Misc queries) 3 March 22nd 07 11:35 AM
excel 2007 customize quick access toolsbar adding menus commands Søren Thade Petersen Excel Discussion (Misc queries) 3 November 18th 06 04:38 PM


All times are GMT +1. The time now is 03:35 AM.

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

About Us

"It's about Microsoft Excel"