From: PAkerly on
Hello,
I want to:

1.) open a folder that has files in it.
2.) ask the user with a msgbox if these are the right files

user clicks YES, program will continue.

user clicks NO, another msgbox pops up and program ends.

How would I do this?
From: Pegasus [MVP] on


"PAkerly" <pakerly(a)gmail.com> said this in news item
news:b511ade7-5fa6-4570-a616-512e2c3f47ea(a)g31g2000vbr.googlegroups.com...
> Hello,
> I want to:
>
> 1.) open a folder that has files in it.
> 2.) ask the user with a msgbox if these are the right files
>
> user clicks YES, program will continue.
>
> user clicks NO, another msgbox pops up and program ends.
>
> How would I do this?

To open a file you use the OpenFile method of the File System Object.

To ask the user, you would use the msgbox method. When you examine the help
file script56.chm (which you can download from the Microsoft site) then you
will see specific examples for both tasks.