Forum: Outlook and VBA
January 16th 07, 07:54 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 5
Views: 1,109
|
Forum: Outlook and VBA
January 16th 07, 07:53 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 5
Views: 1,109
Why don't I need a MapiFolder object?
So , does that mean that .GetDefaultFolder(olFolderWhatever) creates an
explorer object for itself and then each time I access
..GetDefaultFolder(whatever) it creates a new temporary explorer...
|
Forum: Outlook and VBA
January 16th 07, 02:32 AM Posted to microsoft.public.outlook.program_vba
|
Replies: 5
Views: 1,109
Why don't I need a MapiFolder object?
I'm trying to wrap my head around the outlook objects. I'm sure this is a
stupid question but I'm having trouble grasping when I need to declare
objects and when I don't.
Why don't I need a...
|
Forum: Outlook and VBA
January 4th 07, 08:03 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 561
|
Forum: Outlook and VBA
January 3rd 07, 10:38 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 561
|
Forum: Outlook and VBA
January 3rd 07, 09:42 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 561
Sub with optional parameters not working
I can call this sub from another sub and it works with or without actual
arguments being sent.
but if I try to run or step through it by itself my computer just beeps and
does not go into it at all....
|
Forum: Outlook and VBA
January 2nd 07, 01:10 AM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 809
Optional object parameter
Thanks,
Carol
"Sue Mosher [MVP-Outlook]" wrote in message
...
If Not itm Is Nothing Then
--
Sue Mosher, Outlook MVP
Author of...
|
Forum: Outlook and VBA
January 1st 07, 08:53 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 809
Optional object parameter
I am trying to check if an object argument was passed to a sub.
See below... I get an error message at "If itm vbNull "
how do I check if an object was passed from the calling...
|
Forum: Outlook and VBA
December 16th 06, 06:38 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 649
|
Forum: Outlook and VBA
December 16th 06, 05:36 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 649
|
Forum: Outlook and VBA
December 16th 06, 12:20 AM Posted to microsoft.public.outlook.program_vba
|
Replies: 1
Views: 720
Saving a task item to a child folder
I have created a task item and wish to save it to a sub folder of tasks that
I have already created. I know the syntax to save to the task folder is:
objTask.Save but I don't know how to save to...
|
Forum: Outlook and VBA
December 2nd 06, 04:24 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 599
|
Forum: Outlook and VBA
December 2nd 06, 03:08 AM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 599
How do I Replace a string with a variable?
I think I also have a valid string but when I use it (or your version below)
I get a run time error saying.
Condition is not valid and a long number. Highlighting at my Set itm code.
Here is all my...
|
Forum: Outlook and VBA
December 2nd 06, 12:08 AM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 599
How do I Replace a string with a variable?
I am trying to set the item using a variable strFullName
the variable value is "Cherif Abdallah" with the quotes included but If I
substitute the variable in the place of the name in the set item....
|
Forum: Outlook and VBA
November 30th 06, 09:40 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 6
Views: 519
itm in itms folder question.
Thanks
I haven't time to try it out until later.
Carol PS thanks for not laughing
"Sue Mosher [MVP-Outlook]" wrote in...
|
Forum: Outlook and VBA
November 30th 06, 08:17 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 6
Views: 519
itm in itms folder question.
OK here goes,
Here's my code ,don't laugh.
This is done in Access to transfer to OUtlook.
My problem is that I thought once the for loop closed that the itm.FullName
that I matched would close...
|
Forum: Outlook and VBA
November 30th 06, 04:41 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 6
Views: 519
itm in itms folder question.
Sorry, Actually I had some code before this that checked that it is there to
find.
My problem is that if I place the With itm inside the for loop. When the
loop closes do I lose my itm.FullName which...
|
Forum: Outlook and VBA
November 29th 06, 09:23 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 6
Views: 519
itm in itms folder question.
I am wishing to capture the itm from the collection when it is found and
then overwrite the info using with itm.
If it is not found then I wish to set a new itm and add the info.
As the code to add...
|
Forum: Outlook and VBA
November 28th 06, 08:02 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 590
|
Forum: Outlook and VBA
November 28th 06, 07:57 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 590
Code worked once only. then stopped.
Do you mean? .Close (olSave)??
I am pretty new to outlook so I'm not sure if this is what you meant.
Thanks
Carol
"Ken Slovak - [MVP - Outlook]" wrote in...
|
Forum: Outlook and VBA
November 28th 06, 06:52 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 590
Code worked once only. then stopped.
I am using Outlook 2000.
I am sure that this code worked once and then stopped working. It is meant
to update data to the outlook contactitem body from a button in an access
database. I check the...
|
Forum: Outlook and VBA
November 13th 06, 03:55 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 793
|
Forum: Outlook and VBA
November 11th 06, 11:30 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 793
|
Forum: Outlook and VBA
November 9th 06, 08:57 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 675
|
Forum: Outlook and VBA
November 9th 06, 08:32 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 2
Views: 675
|