Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default commandbutton doubt

hi friends,

I have a command button on my excel cell. Now I want to have it some thing
like, if I save my sheet and reopen it, I should still be able tohandle the
button click...

any idea how to go about to get this?!

Thanks,
na_ab


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 206
Default commandbutton doubt

Why is it not doing that now?, if you save the workbook, the code
should still be activated with the button when you open the workbook
again. There must be something else missing in you question.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default commandbutton doubt

Hey Dave,

Good to see you replying :)

Am actually having an automation addin to excel that creates
buttons(commandbuttons) on excel cells dynamically and associated event
handlers. When I save my workbook and reopen it, the buttons still exist
however the event handlers are lost. I want to persist these event handlers.
How can I do it?

My application is such that, when I build my project and run it, excel opens
up. Thus the problem is, what ever buttons and event handlers i create, they
are working only in that instance of execution. Once I save and reopen them,
though the buttons are still there, I am not able to handle the events. How
can I achieve this?!

Regards,
na_ab


"CurlyDave" wrote:

Why is it not doing that now?, if you save the workbook, the code
should still be activated with the button when you open the workbook
again. There must be something else missing in you question.

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
Macros Doubt Royal Excel Discussion (Misc queries) 1 December 17th 09 09:51 AM
doubt nibu Excel Worksheet Functions 2 August 15th 08 05:57 PM
if condition doubt deen Excel Worksheet Functions 2 May 2nd 08 06:14 PM
I have a doubt! Jaleel Excel Discussion (Misc queries) 4 September 21st 06 01:51 PM
some doubt mango Excel Worksheet Functions 6 December 31st 04 01:42 PM


All times are GMT +1. The time now is 08:12 PM.

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

About Us

"It's about Microsoft Excel"