olNavigation Folder
I am using the beta of Microsoft Office 2010 x64. I am trying to write VBA so
a user can control messages with attachments, in particular, to be able to
select messages or an outlook folder and then specify where to save the
attachments. I have managed to put together some code that allows the user to
select a folder and place the attachments in a folder I hard code, but I
haven't been able to gogure out how to give them a dialog where they can
select/create a folder of their choosing. Does such a thing exist in VBA 2010?
Using the Object Browser I found a series of methods in the olObjectClass
called:
olNavigation Folder
olNavigation Folders
olNavigationGroup
olNavigationGroups
olNavigationModule
olNavigationModules
However I can find no information on MSDN or even in the universe of a
Google search. Are these methods that I can use to develop a dialog or is
there something else that can do the job? I realize I could give them a
TextBox to avoid hard coding, but that's hardly elegant.
Any help on creating a file dialog would be appreciated.
---Mike
p.s. I realize I could do this in Visual Studio Express, but then I would
have to make 32 and 64 bit versions, where in VBA the code will work in
whatever version you have.
|