Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Mike Hebblewhite
 
Posts: n/a
Default Tool Bar In Excel With Macros

Hello,
Im trying to create a toolbar that takes you through a large report, it
contains a 'Home' button which returns you to the index tab (Thats an easy
on!) a 'Last Sheet' button that returns you to the previous tab and a 'Next
Sheet' button which takes you to the next tab.

What's the easiest way to get this to work, and how woul i go bout writing a
script to make it work?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernie Deitrick
 
Posts: n/a
Default Tool Bar In Excel With Macros

Mike,

Assigne these macros to two buttons:

Sub LastSheet()
On Error Resume Next
Worksheets(ActiveSheet.Index - 1).Activate
End Sub

Sub NextSheet()
On Error Resume Next
Worksheets(ActiveSheet.Index + 1).Activate
End Sub

HTH,
Bernie
MS Excel MVP


"Mike Hebblewhite" wrote in message
...
Hello,
Im trying to create a toolbar that takes you through a large report, it
contains a 'Home' button which returns you to the index tab (Thats an easy
on!) a 'Last Sheet' button that returns you to the previous tab and a 'Next
Sheet' button which takes you to the next tab.

What's the easiest way to get this to work, and how woul i go bout writing a
script to make it work?

Thanks



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
Synchronizer: in my opinion, best diff tool for excel. [email protected] Excel Discussion (Misc queries) 0 June 23rd 05 03:44 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel Tool Bar Gone sc826 Excel Discussion (Misc queries) 4 April 10th 05 04:31 PM
Excel 97 macros to Excel 2003 Kath Excel Worksheet Functions 1 February 17th 05 07:44 AM
How do I update Excel 2000 macros to work in Excel 2002? BobPetrich Excel Discussion (Misc queries) 3 January 4th 05 04:06 PM


All times are GMT +1. The time now is 05:52 AM.

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"