LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Adding Code to Command Button at Run Time


http://www.cpearson.com/excel/vbe.htm is quite a cool site that tells you
all about it.

But make sure in VB Editor, you go to Tools/References and check:
- Microsoft Visual Basic for Applications Extensibility 5.3
Else some required variables won't be recognized.

If it's too hard to program the button's code in a form, I guess you put the
actual code in a module that you can modify, and let the buttonclick launch
that changing code.



"Kevin E." schreef in bericht
...



 
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
Adding A Date Command Button hazey Excel Programming 4 December 12th 05 09:50 PM
adding a command button to an excel cell? betelguese Excel Discussion (Misc queries) 1 March 22nd 05 03:09 AM
Adding Code to an Existing Command Button with VBA jasoncw[_2_] Excel Programming 1 February 15th 05 11:15 PM
Command Button VBA code Dave Peterson Excel Discussion (Misc queries) 2 January 25th 05 11:28 PM
Adding a command button Roy Thompson Excel Programming 2 October 4th 04 10:12 PM


All times are GMT +1. The time now is 09:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"