Steve_Wiersma
13 years agoNew Contributor
Testing Dynamically created tabs
I am trying to write a program that will move through dynamically created tabs and click a forcepayment checkbox in each one.
Currently I have
Currently I have
Set ExceptionTabs = pnlMain.pnlTabs.tabOverShort
count = ExceptionTabs.Tabs.Count
count gives me the number of tabs that are created
my problem lies here, in order to call a tab I can use
Call ExceptionTabs.ClickTab("Over/Short")
but I don't know if that tab exists because it is only created if the account has that property. In the name mapping the tabs are mapped based on where they show up (Tab1, Tab2, Tab3).
Does anyone know how I could either grab the location of Tab1 so that I could call a click on a specific location or
even better would be how to find out the name of the tab that is in the location for Tab1 so that I can call the click tab function to open it.Attached is a screenshot of the layout I am trying to work with.