Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default Command Buttons & ActiveX Controls

What I would like to do is have a command button on click, to go to another
sheet on a specified cell range in the same workbook. Its just that I do not
know how to create macros or codes to make any command button work. Any help
me would be much appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Command Buttons & ActiveX Controls


Public Sub MyButton_Click()
Worksheets("Sheet2").Select
End Sub

--
__________________________________
HTH

Bob

"aussiegirlone" wrote in message
...
What I would like to do is have a command button on click, to go to
another
sheet on a specified cell range in the same workbook. It's just that I do
not
know how to create macros or codes to make any command button work. Any
help
me would be much appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Command Buttons & ActiveX Controls

And to get to a specific range:

Public Sub MyButton_Click()
application.goto Worksheets("Sheet2").range("X99"), scroll:=true 'or false??
End Sub

aussiegirlone wrote:

What I would like to do is have a command button on click, to go to another
sheet on a specified cell range in the same workbook. Its just that I do not
know how to create macros or codes to make any command button work. Any help
me would be much appreciated.


--

Dave Peterson
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
ActiveX Controls leerem Excel Discussion (Misc queries) 0 December 11th 08 01:11 PM
Tab between ActiveX controls Tekhnikos Excel Discussion (Misc queries) 0 August 12th 08 03:42 PM
ActiveX controls Luke Excel Discussion (Misc queries) 1 October 26th 06 02:00 PM
ActiveX Controls Charly Excel Discussion (Misc queries) 1 October 18th 06 01:53 PM
ActiveX Controls vs Form Controls Alex Excel Discussion (Misc queries) 1 January 11th 06 08:46 AM


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