Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I add controls to an open custom dialog?

Status
Not open for further replies.

MigrantFirmWorker

Programmer
Apr 9, 2003
54
US
I am trying to interactively add/delete buttons in an open dialog box. At best, the changes do not appear until the next time the dialog is run. At worst, Excel crashes. I have tried hiding the dialog, then reshowing it ->error or crash. Any suggestions would be appreciated.

(Excel 97)
 
Hi MigrantFirmWorker,

It should be possible but, as you have found, odd things can happen when you dynamically change the runtime environment.

It would be better to have all the buttons there and interactively hide and show them rather than trying to interactively add and delete them?

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top