Re: PickFolder-dialog cancelled
From: CloudsŪ (DOCloudsNOT_at_hardwareSPAM-spot.com)
Date: 08/27/04
- Next message: Aline: "EntryID structure"
- Previous message: Ken Slovak - [MVP - Outlook]: "Re: Filtering Items in a View"
- In reply to: Sue Mosher [MVP-Outlook]: "Re: PickFolder-dialog cancelled"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Aug 2004 16:24:12 +0200
> "CloudsŪ" <DOCloudsNOT@hardwareSPAM-spot.com> wrote in message
> news:412ef5f2$0$568$e4fe514c@news.xs4all.nl...
> >
> > Works fine when a folder is selected, but I can't figure out how to
detect
> > that a user cancelled the choose-folder-dialog.
> > PickFolder then returns 'Nothing', but that can't be used is a
comparison.
> > E.g.
> >
> > Set SubFolder = ns.PickFolder
> > If Subfolder = Nothing Then ... End If
> >
> > returns an error.....
"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> schreef in bericht
news:#T5CMoCjEHA.3612@TK2MSFTNGP12.phx.gbl...
> Sure it can:
>
> If Not SubFolder Is Nothing Then
> ' you know you have a folder and can proceed
Thnxz....it's so easy....why didn't I think of it? :-p
-- CloudsŪ
- Next message: Aline: "EntryID structure"
- Previous message: Ken Slovak - [MVP - Outlook]: "Re: Filtering Items in a View"
- In reply to: Sue Mosher [MVP-Outlook]: "Re: PickFolder-dialog cancelled"
- Messages sorted by: [ date ] [ thread ]