Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Macro for forward and back button

Hi,

Could someone please help me. This probably need macro.

I create 2 button in a sheet - one for forward and one for back. Their
function is to more to the next sheet or move to the previous sheet.

I tried to use hyperlink. The only problem is I have to set hyperlink on
every sheet. Is there a way or macro that I can assign to the button to tell
it to more to next or previous.

Thanks.
Kim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Macro for forward and back button

Hi Kim,

Next

ActiveSheet.Next.Select

Previous

ActiveSheet.Previous.Select

If this was helpful please click yes, thanks


"Kim" wrote:

Hi,

Could someone please help me. This probably need macro.

I create 2 button in a sheet - one for forward and one for back. Their
function is to more to the next sheet or move to the previous sheet.

I tried to use hyperlink. The only problem is I have to set hyperlink on
every sheet. Is there a way or macro that I can assign to the button to tell
it to more to next or previous.

Thanks.
Kim

  #3   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Macro for forward and back button

Can you give the whole format for the macro. I'm new at it.

And I already have another macro - on Module 1

Sub MakeCopyOfMasterSheet()
Sheets("Master").Copy After:=Sheets(Sheets.Count)
End Sub

Regards,
Kim

"Eduardo" wrote:

Hi Kim,

Next

ActiveSheet.Next.Select

Previous

ActiveSheet.Previous.Select

If this was helpful please click yes, thanks


"Kim" wrote:

Hi,

Could someone please help me. This probably need macro.

I create 2 button in a sheet - one for forward and one for back. Their
function is to more to the next sheet or move to the previous sheet.

I tried to use hyperlink. The only problem is I have to set hyperlink on
every sheet. Is there a way or macro that I can assign to the button to tell
it to more to next or previous.

Thanks.
Kim

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Macro for forward and back button

Hi Kim,

First create the button

go to developer, insert, form controls, choose the first one, then go to the
spreadsheet where you want to draw the button and draw it, a dialog box will
open click New and where the cursor is tipr the sentence given, close Visual
basic and the button is ready to use, do the same with the previous button

Instructions given are for Excel 2007

Previous version

go to View, toolbars, forms and the button will be the 2nd in the right column

then follow the same procedure described above

"Kim" wrote:

Can you give the whole format for the macro. I'm new at it.

And I already have another macro - on Module 1

Sub MakeCopyOfMasterSheet()
Sheets("Master").Copy After:=Sheets(Sheets.Count)
End Sub

Regards,
Kim

"Eduardo" wrote:

Hi Kim,

Next

ActiveSheet.Next.Select

Previous

ActiveSheet.Previous.Select

If this was helpful please click yes, thanks


"Kim" wrote:

Hi,

Could someone please help me. This probably need macro.

I create 2 button in a sheet - one for forward and one for back. Their
function is to more to the next sheet or move to the previous sheet.

I tried to use hyperlink. The only problem is I have to set hyperlink on
every sheet. Is there a way or macro that I can assign to the button to tell
it to more to next or previous.

Thanks.
Kim

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
How can I call IE browser (Back button) through Excel macro? SAM SEBAIHI Excel Discussion (Misc queries) 0 December 14th 06 12:49 AM
How can I call IE browser (Back button) through Excel macro? SAM SEBAIHI Excel Discussion (Misc queries) 0 December 13th 06 04:50 AM
page forward button tootielm Excel Discussion (Misc queries) 1 October 11th 06 09:48 AM
Reverse a Macro - works like back button spydor Excel Discussion (Misc queries) 1 January 3rd 06 12:39 AM
Web-type Back and Forward navigation between Excel worksheets LowerOly Excel Worksheet Functions 3 August 3rd 05 12:27 AM


All times are GMT +1. The time now is 04:54 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"