![]() |
|
||||||||
| Site Links |
| Consulting |
| Knowledge Base |
| Training |
| Forum |
| Articles |
| Resources |
| Products |
| Cool Tools |
| Contact |
| About Us |
| Go to Page... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
|
Outlook Vba Newmail Help
Good day,
Im looking for some help for a macro for Oulook 2003. Basically I need the macro to check for new mail with a certain specified subject, thereafter i need the macro to copy to the clipboard the content of the email, and therafter once the message is copied to auto press CTRL+SHIFT+P - to launch one of my other applications. Any idea's - im a bit new to VBA so any help would be appreciated Thanks Ahmed |
|
Local Time: 03:57 PM
Local Date: 05-18-2013 Location:
|
|
|
|
#2 |
|
Knowledge Base Approver
|
Untested, but this should do it for you.
VBA:
VBA tags courtesy of www.thecodenet.com
Cordially, Aaron ![]() Keep Our Board Clean!
|
|
Local Time: 04:57 PM
Local Date: 05-18-2013 Location:
|
|
|
|
#3 |
|
|
Thanks
Thanks,
I got it to run, the only problem im having now is the SendKeys I require the keys Ctrl+Shift+P to be pressed as a last step - any advise? Thanks ![]() |
|
Local Time: 03:57 PM
Local Date: 05-18-2013 Location:
|
|
|
|
#4 |
|
Knowledge Base Approver
|
That is what this line does:
Cordially, Aaron ![]() Keep Our Board Clean!
|
|
Local Time: 04:57 PM
Local Date: 05-18-2013 Location:
|
|
|
|
#5 |
|
|
Plugged that code in, still not working, however if i manually press the keys they work, any other idea's
|
|
Local Time: 03:57 PM
Local Date: 05-18-2013 Location:
|
|
|
|
#6 |
|
Knowledge Base Approver
|
Hmmm probabbly need a different way to trigger. Sendkeys you have to get just right. Is ctrl-shift-p triggering another vba script? If not what is it triggering?
Cordially, Aaron ![]() Keep Our Board Clean!
|
|
Local Time: 04:57 PM
Local Date: 05-18-2013 Location:
|
|
|
|
#7 |
|
|
Its not triggering anything, tried to change the keys as well, no luck
mmm how can i launch an .exe from the application, possible i can launch the app and then try? Thanks |
|
Local Time: 03:57 PM
Local Date: 05-18-2013 Location:
|
|
|
|
#8 |
|
Knowledge Base Approver
|
vba.shell "C:\MyPath\MyExe.exe"
Cordially, Aaron ![]() Keep Our Board Clean!
|
|
Local Time: 04:57 PM
Local Date: 05-18-2013 Location:
|
|
![]() |
| Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|


