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: 6
Default how to use a command button in excel?

What button type[listbox or command?] and what script do I attach to a
button I've called 'Select a Workgroup' which, when clicked on, will provide
a drop down box with all workgroup names. I would like to be able to click
on a name and have the data within the report reflect that of the workgroup
selected. I'm trying to recreate a macro button in Excel as used in Lotus -
example below :

Sub Click(Source As Buttoncontrol)
[/w].MacroRun
End Sub

*where /w represents "workgroup"

Does Excel have the same premise as Lotus whereby a "workgrouplist" and
"workgrouppick" need to be named in a range as well as the following
formula{CHOOSE-ITEM workgrouplist;workgrouppick;"Select a
Workgroup";"Workgroup Selection"}{calc}. Is there a web site that I can
refer to for assistance?
Thank you!
 
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
Command Button Excel 2007 dhstein Excel Discussion (Misc queries) 4 February 15th 09 04:14 PM
Command Button in Excel Frederic Excel Programming 14 November 16th 05 12:50 AM
Excel Add-In with Command Button Controls Mark Dev Excel Programming 3 May 21st 05 02:14 PM
Can I run a macro from a command button in Excel? jacchops Excel Programming 3 February 16th 05 06:18 PM
excel, vba, command button jimx[_2_] Excel Programming 2 June 1st 04 05:38 PM


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