几何尺寸与公差论坛

 找回密码
 注册
查看: 668|回复: 0

【转帖】common dialog

[复制链接]
发表于 2009-4-13 09:47:29 | 显示全部楼层 |阅读模式
common dialog
hi all,
just wondering if someone can help me. i want to create a common dialog where i can browse for particular file formats. i am adding some additional flexibility to a macro so i can browse to a folder and select a file of a specific type (ini and mdb)once the file is selected the filepath of the selected file will be shown in a textbox.
i will be upgrading this macro over the next few weeks to vb.net but for the moment i need to get it working in vba.
how can i best do this?
thanks,
declan.
declan,
right mouse on the grey area "controls" tab of your vba "toolbox" dialog box and "additional controls". select "microsoft common dialog control" from the list of controls.
wayne matus
texas engineering systems
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 09:37 , Processed in 0.035756 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表