steve case
Well-known Member
- Joined
- Apr 10, 2002
- Messages
- 823
I have a "gazillion" screens from another application I want to:
Select All, Copy, Open Excel, Find the next blank line, paste, return to the application, page down and repeat.
This application won't accept [SendKeys "^a^c", True] but at least I would like Excel to automatically run some code when I reopen it with [Alt+Tab]
So far this code:
Columns("A:A").Select
Selection.Find(What:=Empty, After:=ActiveCell).Select
ActiveSheet.Paste
If Err Then MsgBox "OK": Err.Clear
AppActivate "MyApplication"
doesn't run as a workbook macro on [Alt+Tab]
Any ideas?
Other suggestions on how to this are welcome (-:
.
.
.
.
.
.
Select All, Copy, Open Excel, Find the next blank line, paste, return to the application, page down and repeat.
This application won't accept [SendKeys "^a^c", True] but at least I would like Excel to automatically run some code when I reopen it with [Alt+Tab]
So far this code:
Columns("A:A").Select
Selection.Find(What:=Empty, After:=ActiveCell).Select
ActiveSheet.Paste
If Err Then MsgBox "OK": Err.Clear
AppActivate "MyApplication"
doesn't run as a workbook macro on [Alt+Tab]
Any ideas?
Other suggestions on how to this are welcome (-:
.
.
.
.
.
.