#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 123
Default coding macro

Sub Main()
Do
rc% = PS.WaitHostSettle(1000)
Loop While rc% = ERR_SESSION_BUSY
rc% = PS.SendString("btrh{Enter}")
rc% = PS.SendString("{NewLine}BA77{NewLine}")
rc% = AppWin.Paste
rc% = PS.SendString("{Enter}")
End Sub

If above is the code is it possibel that code imports data from excel and
run themacro inloop. The thing i wish to import is BA77 which is in the code.
Above macro is a recorded macro.

Kindly ask if unable to understand situation.
Thanks
Boss

Reply
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
How to use the if statement for Macro coding? Eric Excel Worksheet Functions 3 June 19th 07 04:16 PM
How to close a excel file using Macro coding? Eric Excel Worksheet Functions 5 June 11th 07 03:02 PM
How to close a excel file using Macro coding? Eric Excel Discussion (Misc queries) 1 June 11th 07 08:49 AM
Hidding Macro names and coding mrbalaje Excel Discussion (Misc queries) 4 April 20th 05 04:23 PM
soft-coding lines in a macro GJR3599 Excel Discussion (Misc queries) 1 March 30th 05 10:28 PM


All times are GMT +1. The time now is 09:27 AM.

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

About Us

"It's about Microsoft Excel"