PC Review


Reply
Thread Tools Rate Thread

commandbutton doubt

 
 
NA_AB
Guest
Posts: n/a
 
      26th Feb 2009
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


 
Reply With Quote
 
 
 
 
CurlyDave
Guest
Posts: n/a
 
      27th Feb 2009
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 With Quote
 
NA_AB
Guest
Posts: n/a
 
      3rd Mar 2009
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 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
Commandbutton ? =?Utf-8?B?Qm9iYnlrbQ==?= Microsoft Outlook VBA Programming 1 1st Oct 2007 05:40 AM
commandbutton? =?Utf-8?B?Qm9iYnlrbQ==?= Microsoft Excel Programming 3 30th Sep 2007 01:13 AM
commandbutton =?Utf-8?B?U3RldmVu?= Microsoft Access Form Coding 2 7th Aug 2006 10:16 PM
CommandButton Hans Hofmann Microsoft Powerpoint 0 31st Aug 2004 01:57 PM
CommandButton? Stu Microsoft Excel Discussion 7 19th Oct 2003 03:51 AM


Features
 

Advertising
 

Newsgroups
 


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