Live-Forum - Die aktuellen Beiträge
Datum
Titel
29.03.2024 13:14:12
28.03.2024 21:12:36
28.03.2024 18:31:49
Anzeige
Archiv - Navigation
320to324
Aktuelles Verzeichnis
Verzeichnis Index
Übersicht Verzeichnisse
Vorheriger Thread
Rückwärts Blättern
Nächster Thread
Vorwärts blättern
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
320to324
320to324
Aktuelles Verzeichnis
Verzeichnis Index
Verzeichnis Index
Übersicht Verzeichnisse
Inhaltsverzeichnis

xlm (Excel4.0) Makros - Wo gibts Doku / Info?

xlm (Excel4.0) Makros - Wo gibts Doku / Info?
09.10.2003 22:27:47
Talentfrei
Hallo Excelianer,

vielleicht könnt ihr mir ja helfen, ich habe in einem Buch über die Möglichkeit der "Fernsteuerung" anderer Programme (in meinem Fall SAP) mit xlm-Makros gelesen. In dem Buch wurde u.a. mit der Funktion "Sendkey" gearbeitet. Jetzt würde ich gerne mehr darüber erfahren um es für meinen Beruf zu nutzen. Leider blieb meine Internetrecherche erfolglos. Weiß jemand von euch Bescheid bzw. wo bekomme ich Unterlagen dazu?

Grüße
Bernd

P.S. Ist diese Funktion noch über VBA zu erreichen - im Buch wurde dies verneint, aber vielleicht wisst ihr mehr?

2
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
AW: xlm (Excel4.0) Makros - Wo gibts Doku / Info?
09.10.2003 22:41:52
th.heinrich
hallo bitte mit vornamen,

bei GOOGLE folgenden eintrag.

"excel 4.0 makro" site:www.herber.de

gruss thomas
AW: xlm (Excel4.0) Makros - Wo gibts Doku / Info?
09.10.2003 23:24:04
Panicman
Hallo Talentfei

dies ist die Original Excel 4.0 Hilfe

SEND KEYS
Macro Sheets Only
Sends keystrokes to the active application just as if they were typed at the keyboard. Use SEND.KEYS to send keystrokes that perform actions and execute commands to applications you are running with Microsoft Excel's other dynamic data exchange (DDE) functions.

Syntax

SEND.KEYS(key_text, wait_logical)

Note This function is available only in Microsoft Excel for Windows.

Key_text is the key or key combination you want to send to another application. The format for key_text is described in the ON.KEY function.

Wait_logical is a logical value that determines whether the macro continues before the actions caused by key_text are carried out.

If wait_logical is TRUE, Microsoft Excel waits for the keys to be processed before returning control to the macro.
If wait_logical is FALSE or omitted, the macro continues running without waiting for the keys to be processed.

Remarks

If Microsoft Excel is the active application, wait_logical is assumed to be FALSE, even if you enter wait_logical as TRUE. This is because if wait_logical is TRUE, Microsoft Excel waits for the keys to be processed in the other application before returning control to the macro. Microsoft Excel doesn't process keys while a macro is running.

Example

The following macro uses the Calculator application in Microsoft Excel for Windows to multiply some numbers, and then cuts the result and pastes it into Microsoft Excel.

=EXEC("CALC.EXE", 1)
=SEND.KEYS("10*30", TRUE)
=SEND.KEYS("~", TRUE)
=SEND.KEYS("%ec", TRUE)
=APP.ACTIVATE(, FALSE)
=SELECT(!B1)
=PASTE()
=RETURN()

wenns dir was bringt

Gruß
Holger
Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Anzeige