Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

open a folder and allow user to end script?

0 views
Skip to first unread message

PAkerly

unread,
Dec 29, 2009, 1:35:04 PM12/29/09
to
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?

Pegasus [MVP]

unread,
Dec 29, 2009, 2:19:02 PM12/29/09
to

"PAkerly" <pak...@gmail.com> said this in news item
news:b511ade7-5fa6-4570...@g31g2000vbr.googlegroups.com...

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.

0 new messages