Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calling a Sub from another


Hello all,

My code below creates a floating menu called "New Name", but when I
click on the menu, nothing happens. I want it to display a message.

I have written as...

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Calling a Sub from another

have you assigned a macro to the button on the floating menu? (assuming
it is a custom button and not a built in button)

--
Regards,
Tom Ogilvy

"shashi1515" wrote
in message ...

Hello all,

My code below creates a floating menu called "New Name", but when I
click on the menu, nothing happens. I want it to display a message.

I have written as...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calling a Sub from another


Tom,

The button I created is on a Floating Menu bar. I know how to assign
macro to button created from Forms. but, how should I assign a Macro t
a button on floating toolbar. Please help.

Thanks,
Shash

--
shashi151
-----------------------------------------------------------------------
shashi1515's Profile: http://www.excelforum.com/member.php...fo&userid=3110
View this thread: http://www.excelforum.com/showthread.php?threadid=50823

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Calling a Sub from another

In code, you use the OnAction property.

manually, you go to Tools, Customize,
then go to the control and right click on it and select assign macro.

--
Regards,
Tom Ogilvy


"shashi1515" wrote
in message ...

Tom,

The button I created is on a Floating Menu bar. I know how to assign a
macro to button created from Forms. but, how should I assign a Macro to
a button on floating toolbar. Please help.

Thanks,
Shashi


--
shashi1515
------------------------------------------------------------------------
shashi1515's Profile:

http://www.excelforum.com/member.php...o&userid=31109
View this thread: http://www.excelforum.com/showthread...hreadid=508233



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calling a Sub from another


Thank you. I got it.

But, when I close the excel and re-open it, I have to assign the macros
again. How to make them permanent??? Please advice.

Thanks,
Shashi


--
shashi1515
------------------------------------------------------------------------
shashi1515's Profile: http://www.excelforum.com/member.php...o&userid=31109
View this thread: http://www.excelforum.com/showthread...hreadid=508233



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Calling a Sub from another

I haven't seen such a problem unless you have deleted the menu item in which
case, when you create it again, you would need to assign a macro.

--
Regards,
Tom Ogilvy

"shashi1515" wrote
in message ...

Thank you. I got it.

But, when I close the excel and re-open it, I have to assign the macros
again. How to make them permanent??? Please advice.

Thanks,
Shashi


--
shashi1515
------------------------------------------------------------------------
shashi1515's Profile:

http://www.excelforum.com/member.php...o&userid=31109
View this thread: http://www.excelforum.com/showthread...hreadid=508233



Reply
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
calling a web site pcor New Users to Excel 2 February 5th 09 12:56 AM
Need Help using/calling a DLL Trip[_3_] Excel Programming 1 January 9th 06 01:36 PM
Need Help Using/Calling DLL Please Trip[_3_] Excel Programming 0 January 8th 06 09:57 AM
Calling an Add-In BillCPA Excel Discussion (Misc queries) 2 August 11th 05 09:32 PM
Calling SUB Peter Longstaff Excel Programming 2 February 23rd 04 08:04 PM


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

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"