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

Getting a button for my VB Script macro in outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 9th 08, 08:41 PM posted to microsoft.public.outlook.program_vba
Matt L
external usenet poster
 
Posts: 1
Default Getting a button for my VB Script macro in outlook

I have a macro that was originally written for outlook 2003. Thanks to Sue
Mosher it runs flawlessly and works great. Now however I am trying to get
this to work in Outlook 2007. I use to deploy it vie the VBAProject.OTM file
and outcmd.dat. However now when I try to use the old outcmd.dat to deploy
it it locks up Outlook 07. I have been able to add the macro to a quick link
bar and it works. But this is not satisfactory for all my users. I need to
have the macro under the office button or on the message banner somewhere.
This is where I am lost. I will be using a logon script to push this out to
the workstations. Let me know where to really start with this I can post any
portion of the VB Script needed.

(I apolagize if this is a double post, I get a busy page error when I
clicked submit the first time)
  #2  
Old April 10th 08, 01:54 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Getting a button for my VB Script macro in outlook

Deploying VBA code in that way really isn't supported or recommended; see http://www.outlookcode.com/article.aspx?id=28 . An Outlook add-in would be a more appropriate solution.

I wouldn't be surprised that an Outcmd.dat file for Outlook 2003 hangs Outlook 2007. If you're talking about putting a macro on the QAT on an Inspector window, there is no programmatic way to do that. Users will have to do it manually.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Matt L" Matt wrote in message ...
I have a macro that was originally written for outlook 2003. Thanks to Sue
Mosher it runs flawlessly and works great. Now however I am trying to get
this to work in Outlook 2007. I use to deploy it vie the VBAProject.OTM file
and outcmd.dat. However now when I try to use the old outcmd.dat to deploy
it it locks up Outlook 07. I have been able to add the macro to a quick link
bar and it works. But this is not satisfactory for all my users. I need to
have the macro under the office button or on the message banner somewhere.
This is where I am lost. I will be using a logon script to push this out to
the workstations. Let me know where to really start with this I can post any
portion of the VB Script needed.


 




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
Labelling a macro button (Outlook 2003) Rob Geraghty Outlook and VBA 2 September 21st 07 01:04 AM
Email Selected or Not Macro Script [email protected] Outlook and VBA 4 May 4th 07 10:00 PM
Macro button that saves the email I'm reading to c:\outlook as .ms kvpb2000 Outlook and VBA 6 November 2nd 06 09:47 AM
multiple macro/script in 1 outlook ah Outlook and VBA 7 June 22nd 06 02:04 AM
Outlook 2000 - Button to run Macro then open Database David C Outlook and VBA 1 January 25th 06 03:44 PM


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