Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 22nd, 2005, 06:16 AM
Authorized User
 
Join Date: Jun 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ho to write Macro???

Hi all...

can anyone help on the problem mentioned ...

i have created a Macro ,which popsup a messagebox...but am unable to assign this Macro to the MenuItems.
i have saved this Macro with .xla extension(as Add-In) , how to i assign these Macros to the Menubar items???

thanks and regards
Sruti
 
Old July 22nd, 2005, 07:45 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 180
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Sruti,

in Menus...
 [View]...[Toolbars]...[Customize]
Select the [Categories tab]...scroll down to...[Macros]

Drag the smilie face onto your toolbar...

Right click the similie face in the toolbar and click on [assign macro]

Select the macro to execute and click ok.

Close the application and reopen. Not necessary but I alway like to do this to check that things are working properly. Provided you xl-addin is configured to startup when excel starts the smilie face should have no problems. You can at any time also change the smilie face to another icon by customizing the toolbar and edit/change the icon.

best wishes

Matt
-----------------------------------------------






Similar Threads
Thread Thread Starter Forum Replies Last Post
Ho do we store pictures in a database? vitalis PHP Databases 2 March 18th, 2007 12:05 PM
How to write Macro for chart for dynamically chang kotaiah Excel VBA 0 September 21st, 2006 07:28 AM
Ho to do nested if statements scoobie PHP How-To 2 April 24th, 2005 06:22 AM
Write a macro for MS-Outlook sachin-csharp .NET Framework 2.0 0 August 28th, 2004 02:29 AM
how i use the Stored Procedure return value and ho yoord ADO.NET 5 June 28th, 2004 08:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.