Sendkeys in Vista

M

moon11

Hello,

In Access 2003 I have a vba module that runs on the On Open event for a
report that uses 2 different Sendkeys commands, one to fit the report to the
window
(SendKeys "%vzf" - i.e. view-zoom-fit) and one to advance the report pages
to a specific page based on a counter (SendKeys "{RIGHT}" - within a counter
loop). Since the Sendkeys command does not work properly in Vista, I am
looking for the proper VBA code to carry out these actions - fitting the
report to the window and advancing the report a certain number of pages.

Any help you can provide is greatly appreciated.
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

VBA word change keys 0
Sendkeys replacement code 1
Sendkeys not working in 2007 0
Word Margins - Frustration 0
Sendkeys not working in Access 2007 0
sendkeys requires add-in? 5
SendKeys 1
Excel --> Word 4

Top