Common Dialog

Hi All,
Just wondering if someone can help me. I want to create a commondialog where I can browse for particular file formats. I am addingsome additional flexibility to a macro so I can browse to a folderand select a file of a specific type (INI and MDB)Once the file isselected the filepath of the selected file will be shown in atextbox.

I will be upgrading this macro over the next few weeks to VB.NETbut for the moment I need to get it working in VBA.

How can I best do this?

Thanks,
Declan.

SolidworksApi macros
Comments 4
SF
SF 2008-06-22
Declan,

Right mouse on the grey area "Controls" tab of your VBA "Toolbox"dialog box and "Additional Controls". Select "Microsoft CommonDialog Control" from the list of controls.
SF
SF 2008-06-23
Also theCreateProfile Sheet macro on my forum has the coding for you to dojust this
DM
DM 2008-06-23
Wayne
I can not get the Common Dialog controls to work in VBA. I haveused the controls in VB6 but whenever I have tried to use them inSW VBA I get the message "The control could not be created becauseit is not properly licensed". Is there a way to license it?

Dan Miel
SW 2008
CC
CC 2008-06-23