阅读背景:

用于在VBA中选择文件OR文件夹的相同对话框

来源:互联网 

I have an Excel workbook that is supposed to be filled with file or folder paths in order to process them later. What I would like to do, is to use the same dialog box in order to select the desired paths, like if a file is selected, return its path, but if no file is selected, return the current folder path. Is it possible to do that in a relative easy way? Or would I need a prompt asking the user if he wants a file or folder before loading the browse window?I have an Excel workbook that is supposed to be




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: