Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   .GetSaveAsFilename() ? (http://www.outlookbanter.com/outlook-vba/7345-getsaveasfilename.html)

David C January 31st 06 04:54 PM

.GetSaveAsFilename() ?
 
How do I get the application method equivalent of .GetSaveAsFilename(), or
..OpenSaveAsFilename() from within VB for MSOutlook ? Neither seems to exist
in my version.

Is there another way to achieve the same result - ie to open the SaveAs
dialogue box ?

Thanks
David C

Michael Bauer February 1st 06 08:07 AM

.GetSaveAsFilename() ?
 
Am Tue, 31 Jan 2006 08:54:19 -0800 schrieb David C:

David, you could open that dialog by using CommandBar techniques, but the
OOM doesn´t provide you with the value entered by the user like it´s
possible in Word.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


How do I get the application method equivalent of .GetSaveAsFilename(), or
.OpenSaveAsFilename() from within VB for MSOutlook ? Neither seems to

exist
in my version.

Is there another way to achieve the same result - ie to open the SaveAs
dialogue box ?

Thanks
David C


David C February 1st 06 04:51 PM

.GetSaveAsFilename() ?
 
Thanks - sounds like the old 'DoCommand' thing, and is probably good enough.
Sadly, i must be very dull today, but I cannot get the VB editor to
recognise CommandBar as a valid word / object. Any ideas?

"Michael Bauer" wrote:

Am Tue, 31 Jan 2006 08:54:19 -0800 schrieb David C:

David, you could open that dialog by using CommandBar techniques, but the
OOM doesn´t provide you with the value entered by the user like it´s
possible in Word.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


How do I get the application method equivalent of .GetSaveAsFilename(), or
.OpenSaveAsFilename() from within VB for MSOutlook ? Neither seems to

exist
in my version.

Is there another way to achieve the same result - ie to open the SaveAs
dialogue box ?

Thanks
David C



Michael Bauer February 2nd 06 06:27 AM

.GetSaveAsFilename() ?
 
Am Wed, 1 Feb 2006 08:51:26 -0800 schrieb David C:

David, please open the Object Browser (F2). There you´ll find the
CommandBar. Both the Inspector and the Explorer have a CommandBars property.

The ID for the SaveAs CommandBarButton is 748. You can use the FindControl
function to get the object.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


Thanks - sounds like the old 'DoCommand' thing, and is probably good

enough.
Sadly, i must be very dull today, but I cannot get the VB editor to
recognise CommandBar as a valid word / object. Any ideas?

"Michael Bauer" wrote:

Am Tue, 31 Jan 2006 08:54:19 -0800 schrieb David C:

David, you could open that dialog by using CommandBar techniques, but the
OOM doesn´t provide you with the value entered by the user like it´s
possible in Word.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


How do I get the application method equivalent of .GetSaveAsFilename(),

or
.OpenSaveAsFilename() from within VB for MSOutlook ? Neither seems to

exist
in my version.

Is there another way to achieve the same result - ie to open the SaveAs
dialogue box ?

Thanks
David C




All times are GMT +1. The time now is 10:58 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com