ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   coding macro (https://www.excelbanter.com/excel-discussion-misc-queries/165817-coding-macro.html)

BOSS

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



All times are GMT +1. The time now is 06:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com