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

script to make a folder in "INBOX"



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 1st 07, 04:08 PM posted to microsoft.public.outlook.program_vba
Amin
external usenet poster
 
Posts: 10
Default script to make a folder in "INBOX"

Dear MVPer,

would you please take a little time and give me some guide or an answer if
the following issue is possible in Outlook or not, thanks in any way. I think
with your background, you are the one that can tell me if the research I'm
buzy with is possible or not. I have to automate the following action in
Outlook;

"Under user mailbox in MS-Outlook create a New folder and call it Archives -
Select the new folder and choose for Properties – click introduction page and
check and activate the option show introduction page for this folder and fill
in the URL(http://guard-en/UserSrchCriteria.php) and click ok.

So far I've been able to create the following script that creates the folder

-------------------------------------------

'Option Explicit
On Error Resume Next
'This script creates an Outlook folder called NorthSeas Archive under the
Inbox folder

Set objOutlook = CreateObject("Outlook.Application")
Set myNameSpace = objOutlook.GetNamespace("MAPI")
Set myInboxFolder = myNameSpace.GetDefaultFolder(6)
Set myNewFolder = myInboxFolder.Folders.Add("NorthSeas Archive")

---------------------------------------------

Could you please tell me if I can add those option((choose for Properties –
click introduction page and check and activate the option show introduction
page for this folder and fill in the
URL(http://guard-en/UserSrchCriteria.php) and click ok.)) in my script? if
so, is it possible that you give me some hints or perhaps for you is just a
matter of second to add those commands

Thanks very much indeed!


--
Amin Bahari
IT Consultant
The Netherlands
Ads
  #2  
Old April 2nd 07, 07:03 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default script to make a folder in "INBOX"



Use the Mapifolder's properties WebViewOn and WebViewURL.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - The most effective way to assign Outlook categories:
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Sun, 1 Apr 2007 07:08:20 -0700 schrieb Amin:

Dear MVPer,

would you please take a little time and give me some guide or an answer if
the following issue is possible in Outlook or not, thanks in any way. I

think
with your background, you are the one that can tell me if the research I'm
buzy with is possible or not. I have to automate the following action in
Outlook;

"Under user mailbox in MS-Outlook create a New folder and call it Archives

-
Select the new folder and choose for Properties – click introduction page

and
check and activate the option show introduction page for this folder and

fill
in the URL(http://guard-en/UserSrchCriteria.php) and click ok.

So far I've been able to create the following script that creates the

folder

-------------------------------------------

'Option Explicit
On Error Resume Next
'This script creates an Outlook folder called NorthSeas Archive under the
Inbox folder

Set objOutlook = CreateObject("Outlook.Application")
Set myNameSpace = objOutlook.GetNamespace("MAPI")
Set myInboxFolder = myNameSpace.GetDefaultFolder(6)
Set myNewFolder = myInboxFolder.Folders.Add("NorthSeas Archive")

---------------------------------------------

Could you please tell me if I can add those option((choose for Properties

–
click introduction page and check and activate the option show

introduction
page for this folder and fill in the
URL(http://guard-en/UserSrchCriteria.php) and click ok.)) in my script? if
so, is it possible that you give me some hints or perhaps for you is just

a
matter of second to add those commands

Thanks very much indeed!

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
make entries under "FILE AS" identical to those under "FULL NAME" droper Outlook - Using Contacts 6 November 22nd 06 03:36 PM
Outlook 2000 a semicolon after the "Inbox" folder Chik Outlook - General Queries 5 April 18th 06 02:33 PM
Replace "INBOX" with "CALENDAR" so mail not visible upon opening Buddy's Mom Outlook - Installation 1 April 7th 06 01:03 PM
Outlook 2003\Exchange 2000 - "Unable to display the folder" in inbox TedStyle Outlook - Installation 0 March 13th 06 08:35 PM


All times are GMT +1. The time now is 07:10 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-2025 Outlook Banter.
The comments are property of their posters.