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 » Search Forums
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Showing results 1 to 25 of 25
Search took 0.04 seconds.
Search: Posts made by: Carol G
Forum: Outlook and VBA January 16th 07, 07:54 PM Posted to microsoft.public.outlook.program_vba
Replies: 5
Views: 1,109
Posted By Carol G
Why don't I need a MapiFolder object?

Thank your for your time. I'm starting to get it.
Carol
"Dmitry Streblechenko" wrote in message
...
It is all up to you. The line

...
Forum: Outlook and VBA January 16th 07, 07:53 PM Posted to microsoft.public.outlook.program_vba
Replies: 5
Views: 1,109
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
Sub with optional parameters not working

Thanks, Carol

"Eric Legault [MVP - Outlook]" wrote in
message ...
Functions can never be run by themselves...
Forum: Outlook and VBA January 3rd 07, 10:38 PM Posted to microsoft.public.outlook.program_vba
Replies: 4
Views: 561
Posted By Carol G
Sub with optional parameters not working

Thanks.
I hope you mean rename it as a function instead of a sub.
Carol
"Eric Legault [MVP - Outlook]" wrote in
message...
Forum: Outlook and VBA January 3rd 07, 09:42 PM Posted to microsoft.public.outlook.program_vba
Replies: 4
Views: 561
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
Repost with more info - Saving a task to a child folder

Thanks Again,
Carol

"Sue Mosher [MVP-Outlook]" wrote in message
...
This statement

Set objItm = myFolder.Items.Add

will...
Forum: Outlook and VBA December 16th 06, 05:36 PM Posted to microsoft.public.outlook.program_vba
Replies: 2
Views: 649
Posted By Carol G
Repost with more info - Saving a task to a child folder

This does not save the new task in the Test folder. In fact it doesn't seem
to be saving anywere.
Thanks for any help.
Carol

Public Sub TaskTest()

Dim objApp As Outlook.Application
Dim...
Forum: Outlook and VBA December 16th 06, 12:20 AM Posted to microsoft.public.outlook.program_vba
Replies: 1
Views: 720
Posted By Carol G
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
Posted By Carol G
How do I Replace a string with a variable?

Extra quotes. found them but it took a while.
Thanks Carol
"Sue Mosher [MVP-Outlook]" wrote in message
...
The easy way to find out...
Forum: Outlook and VBA December 2nd 06, 03:08 AM Posted to microsoft.public.outlook.program_vba
Replies: 4
Views: 599
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
Code worked once only. then stopped.

Thank you, that worked.
Carol
"Ken Slovak - [MVP - Outlook]" wrote in message
...
Try saving the items as you modify them to persist...
Forum: Outlook and VBA November 28th 06, 07:57 PM Posted to microsoft.public.outlook.program_vba
Replies: 4
Views: 590
Posted By Carol G
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
Posted By Carol G
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
Posted By Carol G
Can I loop through MailItem Fields?

Thanks
I thought that might be, as I was looking at peoples code.
Carol
"Michael Bauer [MVP - Outlook]" wrote in message
...


In OL...
Forum: Outlook and VBA November 11th 06, 11:30 PM Posted to microsoft.public.outlook.program_vba
Replies: 2
Views: 793
Posted By Carol G
Can I loop through MailItem Fields?

Can I use an inpector to loop through all the fields in a mail item?
Sorry if this is a dumb question.
Thanks
Carol
Forum: Outlook and VBA November 9th 06, 08:57 PM Posted to microsoft.public.outlook.program_vba
Replies: 2
Views: 675
Posted By Carol G
Wishing to use Outlook form that catches duplicate contact entry.

Thanks,
I guess I'll get started.
Carol

"Ken Slovak - [MVP - Outlook]" wrote in message
...
You would have to code your own duplicate...
Forum: Outlook and VBA November 9th 06, 08:32 PM Posted to microsoft.public.outlook.program_vba
Replies: 2
Views: 675
Posted By Carol G
Wishing to use Outlook form that catches duplicate contact entry.

I am using Outlook 2000. I also use Access 2000. I have a button in Access
to transfer a contact to the appropriate fields in Outlook Contacts. Rather
than have code that checks for duplicates in...
Showing results 1 to 25 of 25

 
Forum Jump

All times are GMT +1. The time now is 10:34 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.