05-17-2021
12:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-17-2021
12:37 PM
NM, I went with Application.Wait(1) and it's working fine. This is what I have so far:
Public Sub ReportUpdate()
Dim oCommandMgr As CommandManager
Set oCommandMgr = ThisApplication.CommandManager
Dim oControlDef As ControlDefinition
Set oControlDef = oCommandMgr.ControlDefinitions.Item("HSL:Cable:Edit_Nailboard_Sketch")
Call oControlDef.Execute
Set oControlDef = oCommandMgr.ControlDefinitions.Item("HSL:Cable:Generate_Report")
Call oControlDef.Execute
'Call wait(600)
Application.wait (1)
SendKeys ("{F10}")
SendKeys ("{RIGHT 2}")
SendKeys ("{ENTER}")
SendKeys ("{ENTER}")
SendKeys (" ")
SendKeys ("C:\Vault Local\Report Configuration Files\Connector with Color.cfg")
SendKeys ("{ENTER}")
End SubThis gets me to the point of picking the config file but I can't select the item in the list once I pick that config to change the name of the output file. No amount of keyboard basing seems to get it. Any ideas? @A.Acheson