Forum: Outlook and VBA
August 10th 06, 10:05 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 5
Views: 1,246
String in msg body
Thanks guys, that answers my question.
When I said 'line-by-line', I meant a collection of strings delimited
by control characters (like newline or null). Some environments will
see entities...
|
Forum: Outlook and VBA
August 10th 06, 01:34 AM Posted to microsoft.public.outlook.program_vba
|
Replies: 5
Views: 1,246
String in msg body
Ken Slovak - [MVP - Outlook] wrote:
You have to parse Item.Body to see if the string is in there no matter what
you do.
So, you're saying that I have to read Item.Body line-by-line, and look
in...
|
Forum: Outlook and VBA
August 9th 06, 03:56 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 5
Views: 1,246
String in msg body
Hi,
Is there a quick way to determine if a string exists somewhere an
email's body without having to read it line-by-line?
TIA,
-T
|
Forum: Outlook and VBA
August 1st 06, 11:42 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 920
Msg Processing in OL2003
Thanks Eric!
-T
Eric wrote:
All the info you need to get started is nicely accumulated he
Developing COM Add-ins for Microsoft Outlook:
http://www.outlookcode.com/d/comaddins.htm
--
|
Forum: Outlook and VBA
July 24th 06, 06:22 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 920
Msg Processing in OL2003
Eric wrote:
How does a UserForm come into play here?
For code that always needs to run when Outlook starts it's usually best to
develop it as a COM Add-In.
OK. Can you point me to the docs...
|
Forum: Outlook and VBA
July 24th 06, 06:21 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 8
Views: 920
Create Folders Along with ObjItem.Move ?
Ah, ok. Now I see what you're saying.
Thanks,
-T
Sue Mosher [MVP-Outlook] wrote:
Dim xxx As MAPIFolder
Set xxx = some expression to get the folder
' move items to xxx
|
Forum: Outlook and VBA
July 21st 06, 10:52 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 8
Views: 920
Create Folders Along with ObjItem.Move ?
So, you're saying the way I had it defined in the original question is
correct?
-T
Sue Mosher [MVP-Outlook] wrote:
You already had it in your earlier code snippet that you posted.
--
Sue...
|
Forum: Outlook and VBA
July 14th 06, 05:06 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 8
Views: 920
Create Folders Along with ObjItem.Move ?
Sue Mosher [MVP-Outlook] wrote:
No, you can Dim an object variable and instantiate it to the folder you want to move that item to. Then you later reuse the variable to move the item to a different...
|
Forum: Outlook and VBA
July 13th 06, 09:21 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 8
Views: 920
Create Folders Along with ObjItem.Move ?
Sue Mosher [MVP-Outlook] wrote:
1) Create a folder if it doesn't exit
On Error Resume Next
Set myFolder = Inbox.Folders("My Folder")
If myFolder Is Nothing Then
Set myFolder =...
|
Forum: Outlook and VBA
July 13th 06, 06:29 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 8
Views: 920
Create Folders Along with ObjItem.Move ?
Hi,
I have a script which replaces rules in OL2003. The way I have folders
defined is like this:
Dim xxx As MAPIFolder
Set my_xxx = Inbox.Folders.Item("xxx")
' ... then after much logic to...
|
Forum: Outlook and VBA
July 8th 06, 12:09 AM Posted to microsoft.public.outlook.program_vba
|
Replies: 4
Views: 920
Msg Processing in OL2003
Hi,
I have a set of routines that replace the rules in outlook. For some
reason, when I first start OL, the code will not work until the
following is done:
1) open Tools-Macro-Visual Basic...
|
Forum: Outlook and VBA
May 17th 06, 05:42 PM Posted to microsoft.public.outlook.program_vba
|
Replies: 0
Views: 668
VBA Code not running until editor is open
Hi,
I've completely moved from using Rules to running vba code in its
place. My code works fine when I have the VB editor open in Outlook.
But, it doesn't seem to execute at all when I have the...
|