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 - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Macro using SendKeys in OL2007...



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 30th 07, 01:34 PM posted to microsoft.public.outlook
Default User
external usenet poster
 
Posts: 9
Default Outlook Macro using SendKeys in OL2007...

Hi,

We have a macro that worked great until installed with OL2007. It sends
some keys to a custom form to check a few checkboxes, etc. We did add it to
the toolbar so we could click it, but it doesn't send the keys any longer.
Any ideas?

Thanks,

Alan
http://www.sadevelopment.com
Partition Boot Manager and Large Drive Tools utilities!


  #2  
Old May 30th 07, 02:14 PM posted to microsoft.public.outlook
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook Macro using SendKeys in OL2007...

SendKeys is never a good programming solution. In this case, the keystrokes are probably different. But you really you should be setting property values using the Outlook object model instead.

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm....program_v ba

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Default User" wrote in message ...
Hi,

We have a macro that worked great until installed with OL2007. It sends
some keys to a custom form to check a few checkboxes, etc. We did add it to
the toolbar so we could click it, but it doesn't send the keys any longer.
Any ideas?

Thanks,

Alan
http://www.sadevelopment.com
Partition Boot Manager and Large Drive Tools utilities!


  #3  
Old May 30th 07, 06:05 PM posted to microsoft.public.outlook
Default User
external usenet poster
 
Posts: 9
Default Outlook Macro using SendKeys in OL2007...

Hi Sue,

SendKeys is never a good programming solution. In this case, the keystrokes
are probably different.
But you really you should be setting property values using the Outlook
object model instead.


I am with you, I posted a message down the hall looking for help as you
suggested!

Thanks,

Alan
http://www.sadevelopment.com
Partition Boot Manager and Large Drive Tools utilities!


 




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
Alternative to using SENDKEYS in Outlook 2003. David Outlook and VBA 1 March 7th 07 06:14 AM
Outlook Today data disappears OL2007 Robert M. Atkinson Outlook - General Queries 4 December 15th 06 11:35 AM
Outlook macro abends but Word macro runs successfully Jreue Outlook and VBA 0 December 13th 06 11:55 PM
OL2007 B2TR Jack Outlook - Using Forms 0 November 6th 06 04:06 PM
Call macro stored in Excel workbook from Outlook's macro Gvaram Outlook and VBA 5 October 4th 06 06:26 AM


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