View Single Post
 
Old 09-25-2020, 06:57 AM
eduzs eduzs is offline Windows 10 Office 2019
Expert
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default

Hi!
I'm using Textbox before update (also tried with exit and afterupdate):
This works:

Code:
If FindInt = 1 Then
    With CB1
        .TabIndex = 3
        .SetFocus
        .DropDown
    End With
End If
But does not work if I remove ".TabIndex = 3" (workaround to force to go to CB1).
CB1 is a combobox.
All those controls are in page1 of a multipage (2 pages) word vba userform, everything else works fine.
Thanks
__________________
Backup your original file before doing any modification.
Reply With Quote