LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default programming button

Create your button and paste in this macro

Sub Button1_Click()
Worksheets("sheet1").Activate
End Sub

"Hendri Adriaens" wrote:

Hi,

I want to create a button in excel using vba. I found some code to create
it, and also to assign it some function, but it returns errors. The button
needs to do only one thing, namely:
Sheets("Start").Activate

All help is welcome. Thanks,
-Hendri.



 
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
Programming a Command Button TBoe Excel Programming 2 February 12th 07 10:51 PM
Button: ActiveX programming nicolascap[_4_] Excel Programming 1 March 14th 06 08:13 AM
Programming for a save button Candee[_23_] Excel Programming 5 May 25th 04 08:23 PM
Control or VBA programming a button brianv Excel Programming 5 December 12th 03 02:26 PM
Programming behind a button DRE Excel Programming 2 July 18th 03 03:40 PM


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