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

Works in Word but not Outlook. Plz Help!



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old November 3rd 09, 05:24 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default Works in Word but not Outlook. Plz Help!

Outlook messages don't run code. Please stick to your original discussion
thread, rather than starting a new one.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"TKM" wrote in message
...
I have a button that reads..
RetVal = Shell("cmd.exe /k """"c:\program
files\netinst\niinst32.exe"",/Execute:{189BF48719-4BCA-4332-9C3E-F98UYTVBN6A86}
/install""""")
It works fine in a Word .doc however when I cut and paste the entire doc
into Outlook 2003. It will not work. The "Links" I have on the document
work
fine but the button does not. Any ideas why? Thanks in advance




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 and Word as email editor - newly created emails appear under 'Word' on taskbar KingCronos Outlook - General Queries 1 October 23rd 07 09:31 PM
Macro works in Word 2007, but not in Outlook 2007 LesG Outlook and VBA 13 March 10th 07 11:30 PM
Add-In works in Excel and Word, but not Outlook KenRoy Add-ins for Outlook 3 November 16th 06 09:51 PM
How can I use word template or use word as editor in Outlook calen Neil Outlook - Calandaring 1 August 2nd 06 04:54 PM
outlook email - works on two PCs - not one one [email protected] Outlook - Installation 1 June 28th 06 04:22 PM


All times are GMT +1. The time now is 03:44 PM.


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.