Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Creating a macro in tasks with text. (http://www.outlookbanter.com/outlook-vba/57472-creating-macro-tasks-text.html)

Mr. L September 24th 07 03:18 PM

Creating a macro in tasks with text.
 
I receive several requests to do different things throughout the day. I
normally drag these emails to my task folder so that they will create a task.
In most cases I need to type in a little more detail on each task. For this
I have made several notes that I copy and paste the text into the task. I
know there has to be an easy way to do this. I'm not sure were to go when
trying to make a macro within Outlook. But, I know a lot of you out there
could do this in your sleep and I am grateful for any help you can throw my
way.

Mr L


Ken Slovak - [MVP - Outlook] September 24th 07 04:03 PM

Creating a macro in tasks with text.
 
Take a look at the macro sample for adding a date stamp to an item for an
example of what you need your macro to look like. Substitute the text you
want to use for the date stamp (Now) in code like that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mr. L" wrote in message
...
I receive several requests to do different things throughout the day. I
normally drag these emails to my task folder so that they will create a
task.
In most cases I need to type in a little more detail on each task. For
this
I have made several notes that I copy and paste the text into the task. I
know there has to be an easy way to do this. I'm not sure were to go when
trying to make a macro within Outlook. But, I know a lot of you out there
could do this in your sleep and I am grateful for any help you can throw
my
way.

Mr L



Mr. L September 24th 07 05:02 PM

Creating a macro in tasks with text.
 
I must be doing something wrong. I am getting a compile error when I am
trying to use some of the code I found. My VBS need work. :-( Even a basic
script to just add some text to an email would be perfect. (I'll keep
trying and searching.)

"Ken Slovak - [MVP - Outlook]" wrote:

Take a look at the macro sample for adding a date stamp to an item for an
example of what you need your macro to look like. Substitute the text you
want to use for the date stamp (Now) in code like that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mr. L" wrote in message
...
I receive several requests to do different things throughout the day. I
normally drag these emails to my task folder so that they will create a
task.
In most cases I need to type in a little more detail on each task. For
this
I have made several notes that I copy and paste the text into the task. I
know there has to be an easy way to do this. I'm not sure were to go when
trying to make a macro within Outlook. But, I know a lot of you out there
could do this in your sleep and I am grateful for any help you can throw
my
way.

Mr L




Ken Slovak - [MVP - Outlook] September 24th 07 07:00 PM

Creating a macro in tasks with text.
 
That code is VBA macro code, which is what you asked for. It's not VBScript
code, which usually is run only as the code behind the form in a custom
Outlook form.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mr. L" wrote in message
...
I must be doing something wrong. I am getting a compile error when I am
trying to use some of the code I found. My VBS need work. :-( Even a
basic
script to just add some text to an email would be perfect. (I'll keep
trying and searching.)



Mr. L September 24th 07 08:00 PM

Creating a macro in tasks with text.
 
Sorry, I didn't realize that I was in a different board. I'm not even sure
what VBA is. Is it even close to VBS? Which would be the best way to handle
this?

Sorry again.

"Ken Slovak - [MVP - Outlook]" wrote:

That code is VBA macro code, which is what you asked for. It's not VBScript
code, which usually is run only as the code behind the form in a custom
Outlook form.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mr. L" wrote in message
...
I must be doing something wrong. I am getting a compile error when I am
trying to use some of the code I found. My VBS need work. :-( Even a
basic
script to just add some text to an email would be perfect. (I'll keep
trying and searching.)




Ken Slovak - [MVP - Outlook] September 24th 07 09:22 PM

Creating a macro in tasks with text.
 
VBA (Visual Basic for Applications) is what's used for Outlook macros. It's
used also for macros in all the other Office applications. Did you look at
that link I provided? It has all the information you need for the basis of
the macro you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mr. L" wrote in message
...
Sorry, I didn't realize that I was in a different board. I'm not even
sure
what VBA is. Is it even close to VBS? Which would be the best way to
handle
this?

Sorry again.



Mr. L September 24th 07 10:06 PM

Creating a macro in tasks with text.
 
The problem I was having was with the extra lines I was adding to it. I was
not entering the "vbCrLf & _" correctly. I'm a noob. :-(

Thanks for the help!! This works exactly the way I want it to!!

Mr. L

"Ken Slovak - [MVP - Outlook]" wrote:

VBA (Visual Basic for Applications) is what's used for Outlook macros. It's
used also for macros in all the other Office applications. Did you look at
that link I provided? It has all the information you need for the basis of
the macro you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mr. L" wrote in message
...
Sorry, I didn't realize that I was in a different board. I'm not even
sure
what VBA is. Is it even close to VBS? Which would be the best way to
handle
this?

Sorry again.





All times are GMT +1. The time now is 05:03 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-2006 OutlookBanter.com