ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   A simple visual basic program (https://www.excelbanter.com/new-users-excel/207305-simple-visual-basic-program.html)

wilchong via OfficeKB.com

A simple visual basic program
 
Dear sir,

I am knowing nothing about Visual Basic Program. However, I need it for
certain task which I feel it can help me a lot to manage my Excel spreadsheet.


My question: I want to write a very simple visual basic program which allow
me to reach a worksheet very quickly. My ideal situation is that press a
button in worksheet A and will reach worksheet B or other very quickly. Is
there any quick program regarding my request?

Thanks,
Wilchong

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200810/1


Bob Phillips[_3_]

A simple visual basic program
 
Assign this simple macro to the button

Public Sub GotoSheetB()
Application.Goto Worksheets("Sheet B").Range("A1")
End Sub

change the sheet name to suit.

You could also setup a hyperlink and link it to another sheet.

--
__________________________________
HTH

Bob

"wilchong via OfficeKB.com" <u43231@uwe wrote in message
news:8c093a037a75e@uwe...
Dear sir,

I am knowing nothing about Visual Basic Program. However, I need it for
certain task which I feel it can help me a lot to manage my Excel
spreadsheet.


My question: I want to write a very simple visual basic program which
allow
me to reach a worksheet very quickly. My ideal situation is that press a
button in worksheet A and will reach worksheet B or other very quickly.
Is
there any quick program regarding my request?

Thanks,
Wilchong

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200810/1




Mike H

A simple visual basic program
 
Hi,

You don't really need code for this. Right click the 'fast forward/rewind'
button to the left of Sheet 1 tab and you get a popup list of all the
worksheets in your workbook. Click one and you are taken to that sheet.

Mike

"wilchong via OfficeKB.com" wrote:

Dear sir,

I am knowing nothing about Visual Basic Program. However, I need it for
certain task which I feel it can help me a lot to manage my Excel spreadsheet.


My question: I want to write a very simple visual basic program which allow
me to reach a worksheet very quickly. My ideal situation is that press a
button in worksheet A and will reach worksheet B or other very quickly. Is
there any quick program regarding my request?

Thanks,
Wilchong

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200810/1




All times are GMT +1. The time now is 02:53 PM.

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