ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   CommonDialog Error (https://www.excelbanter.com/excel-programming/282943-commondialog-error.html)

Clement

CommonDialog Error
 
Hi all,

I trying to add a commondialog control into my VBA form in excel, but it
show an error message "The control could not be created because it is not
properly licensed."

How to solve this problem?

Thanks

Clement



Keith Willshaw

CommonDialog Error
 

"Clement" wrote in message
...
Hi all,

I trying to add a commondialog control into my VBA form in excel, but it
show an error message "The control could not be created because it is not
properly licensed."

How to solve this problem?

Thanks

Clement



You need either a copy of VB6 or the Developer edition of Office

Only the run-time license for these tools are included in the standard
office distribution. As an alternative use the inbuilt Excel dialogs

Keith



Harald Staff

CommonDialog Error
 
Hi Clement

In short; don't do it. For common dialog's Open and Save, use VBA's own
GetOpenFilename and GetSaveAsFilename. The color dialog is of little use in
Excel, and Excel/Windows has their built-in printer dialogs. For a hopefully
working "Save" solution, see my reply to Sayed in this thread.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Clement" skrev i melding
...
Hi all,

I trying to add a commondialog control into my VBA form in excel, but it
show an error message "The control could not be created because it is not
properly licensed."

How to solve this problem?

Thanks

Clement






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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com