LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Excel 2003, Vista, and Sendkeys

Greetings. I just reformatted one of my PCs, installed Windows Vista and
then Excel 2003 so that I had a clean installation. I found that Sendkeys
does not work on Excel 2003 on Windows Vista. I recognize that Sendkeys
should only be used when all else fails, but there are those situations.

The solution is to do the following: (in this case for File, Open)

Dim wshShell
Set wshShell = CreateObject("WScript.Shell")
wshShell.SendKeys "%FO", True

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing Violation when using Excel 2003 on Vista David Bryant Excel Discussion (Misc queries) 1 April 27th 08 06:18 PM
Excel 2003 on Windows Vista Steve Excel Discussion (Misc queries) 0 August 2nd 07 03:50 PM
Excel 2003 Running in Vista JAD Excel Discussion (Misc queries) 1 July 11th 07 05:25 PM
Excel 2003 Vista fax/print problems G4E Excel Discussion (Misc queries) 0 March 19th 07 05:24 PM
What are the difference between 2000, 2003 and Vista for Excel Use prakash New Users to Excel 2 December 1st 06 07:36 PM


All times are GMT +1. The time now is 07:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"