Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SendKeys {Enter} acts like Return rather than Enter
I'm trying to automate QMF from Excel (to automate the process of exporting a QMF query as an Excel file). This involves selecting the QMF application and using Sendkeys to send all the relevant keystrokes. The only problem is when I try: Sendkeys "TRAN", True Sendkeys "{Enter}", True TRAN appears onscreen but then Enter isn't pressed. It appears that Return is pressed since the cursor moves to the beginning of the line as when you press Return in QMF. Given that Enter and Return have the same effect in Excel is there another way I need to refer to Enter to get this command to work in another application? Many thanks for any help. Rob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro to select cells in column enter data then press enter | New Users to Excel | |||
Enter multiple numbers in a cell so total shows when enter keypres | Excel Worksheet Functions | |||
Enter info in one sheet, auto enter in another based on one field | New Users to Excel | |||
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. | Excel Worksheet Functions | |||
how do I enter a RETURN (Enter) in a cell in EXCEL2003 | Excel Discussion (Misc queries) |