如何取vba判断隐藏文件夹没否存在?

2025-03-25 18:54:37
推荐回答(1个)
回答1:

用VBA自带的dir()判断,代码如下:
if dir(dPath,vbDirectory)<>"" then
msgbox "存在"
end if