A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

.GetSaveAsFilename() ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 31st 06, 04:54 PM posted to microsoft.public.outlook.program_vba
David C
external usenet poster
 
Posts: 9
Default .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
Ads
  #2  
Old February 1st 06, 08:07 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default .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

  #3  
Old February 1st 06, 04:51 PM posted to microsoft.public.outlook.program_vba
David C
external usenet poster
 
Posts: 9
Default .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


  #4  
Old February 2nd 06, 06:27 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default .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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.