hi i'm using this piece of coding to create a new tab, and insert the tab index number in the tabcaption. How would I make sure that the new tab which is created has Focus? so i can then input array fields on to it. I just want to make sure it always has focus for the new tab that is made.
Dim newTab As MSComctlLib.Tab
Set newTab = TabStrip1.Tabs.Add
newTab.Caption = "Y" & TabStrip1.Tabs.Count


Reply With Quote
