PC Review


Reply
Thread Tools Rate Thread

Create list of macros

 
 
John
Guest
Posts: n/a
 
      17th Feb 2009
I would like to present user with a list of macros with explanations of
what they do. Have one button that is "Macros" and that opens a macro
(or something) that lists the macros. Then can select one to run.

Thanks

John
 
Reply With Quote
 
 
 
 
CurlyDave
Guest
Posts: n/a
 
      18th Feb 2009
On Feb 17, 4:34*pm, John <john6...@comcast.com> wrote:
> I would like to present user with a list of macros with explanations of
> what they do. Have one button that is "Macros" and that opens a macro
> (or something) that lists the macros. Then can select one to run.
>
> Thanks
>
> John


Alt&F8 ?
This shows all the macros in the WorkBook, if you have made
explanations for each macro they will show there.

Another other way would be to create a userform with command buttons,
and each button would have your separate VBA code, you could have an
explanation of what each button does beside the command button.

 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      18th Feb 2009
Alt + F8 only shows the procedures in the public module. It does not show
any sheet code, ThisWorkbook code or UserForm code.

"CurlyDave" wrote:

> On Feb 17, 4:34 pm, John <john6...@comcast.com> wrote:
> > I would like to present user with a list of macros with explanations of
> > what they do. Have one button that is "Macros" and that opens a macro
> > (or something) that lists the macros. Then can select one to run.
> >
> > Thanks
> >
> > John

>
> Alt&F8 ?
> This shows all the macros in the WorkBook, if you have made
> explanations for each macro they will show there.
>
> Another other way would be to create a userform with command buttons,
> and each button would have your separate VBA code, you could have an
> explanation of what each button does beside the command button.
>
>

 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      18th Feb 2009
R.B. Smissert posted this in another thread:

This .xla add-in:
http://tinyurl.com/rrw3p
Has an extensive workbook documenter and it will amongst many
other things list all your macro's.



"John" wrote:

> I would like to present user with a list of macros with explanations of
> what they do. Have one button that is "Macros" and that opens a macro
> (or something) that lists the macros. Then can select one to run.
>
> Thanks
>
> John
>

 
Reply With Quote
 
MeistersingerVonNurnberg
Guest
Posts: n/a
 
      18th Feb 2009

Hi -

You could dynamically create a toolbar or menu at startup with the
respective caption of each button / item being the description you mention.
Each button / item would be mapped to the appropriate (public) sub's.

You can use the CommandBars collection, the Controls collection for each
CommandBar, and the .Caption, and .OnAction properties.

Don't forget to tear down your tb or menu when done / closing.


"JLGWhiz" wrote:

> R.B. Smissert posted this in another thread:
>
> This .xla add-in:
> http://tinyurl.com/rrw3p
> Has an extensive workbook documenter and it will amongst many
> other things list all your macro's.
>
>
>
> "John" wrote:
>
> > I would like to present user with a list of macros with explanations of
> > what they do. Have one button that is "Macros" and that opens a macro
> > (or something) that lists the macros. Then can select one to run.
> >
> > Thanks
> >
> > John
> >

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      18th Feb 2009
Sounds interesting. I know nothing about it though.
John

MeistersingerVonNurnberg wrote:
> Hi -
>
> You could dynamically create a toolbar or menu at startup with the
> respective caption of each button / item being the description you mention.
> Each button / item would be mapped to the appropriate (public) sub's.
>
> You can use the CommandBars collection, the Controls collection for each
> CommandBar, and the .Caption, and .OnAction properties.
>
> Don't forget to tear down your tb or menu when done / closing.
>
>
> "JLGWhiz" wrote:
>
>> R.B. Smissert posted this in another thread:
>>
>> This .xla add-in:
>> http://tinyurl.com/rrw3p
>> Has an extensive workbook documenter and it will amongst many
>> other things list all your macro's.
>>
>>
>>
>> "John" wrote:
>>
>>> I would like to present user with a list of macros with explanations of
>>> what they do. Have one button that is "Macros" and that opens a macro
>>> (or something) that lists the macros. Then can select one to run.
>>>
>>> Thanks
>>>
>>> John
>>>

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      18th Feb 2009
I'm toying with the userform route. Looks pro,issing but it seems really
hard designing decent looking textboxes in excel. I can get done what I
want to do but it looks terrible.

John

CurlyDave wrote:
> On Feb 17, 4:34 pm, John <john6...@comcast.com> wrote:
>> I would like to present user with a list of macros with explanations of
>> what they do. Have one button that is "Macros" and that opens a macro
>> (or something) that lists the macros. Then can select one to run.
>>
>> Thanks
>>
>> John

>
> Alt&F8 ?
> This shows all the macros in the WorkBook, if you have made
> explanations for each macro they will show there.
>
> Another other way would be to create a userform with command buttons,
> and each button would have your separate VBA code, you could have an
> explanation of what each button does beside the command button.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Drop Down List of Macros Youlan Microsoft Excel Misc 1 23rd Oct 2009 11:34 PM
Drop down list using macros in a personal macros workbook jlcoop01 Microsoft Excel Programming 0 23rd Oct 2009 03:56 PM
Macros in Personal.xls that would create two toolbars and buttonswith assigned macros =?Utf-8?B?SmF5?= Microsoft Excel Programming 1 30th Mar 2007 12:02 AM
Macros not appearing in the Tools > Macro > Macros list hglamy Microsoft Excel Programming 5 24th Oct 2003 09:10 AM
Re: List the Macros that can be executed from Tools-Macros Rob Bovey Microsoft Excel Programming 1 10th Jul 2003 05:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 AM.