Form Title Bar always greyed out

AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
1,958
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Puzzled again, it's just a minor thing but bugs me and I'd like to find an answer !

The following is in a module and sets up a Form to do stuff with.

Code:
Sub UserUpdates()
Dim UserDat As Variant, uIndex As Integer, UserSubmission As Variant
UserDat = GetTheData  'Read in data from Website
With frmAmend
    Do
        If UserDat(uIndex) > "" Then 'fill form textboxes and pass variables over
                UserSubmission = DecodeMe(UserDat(uIndex))
                .txtSheet = .fSheetName(UserDat(uIndex))
                .txtLine = .fSheetRow(UserDat(uIndex))
                .txtPrefix = ExtractThisItem(UserSubmission(QuickCC(PrefixColBySheet(.txtSheet)) - 1))
                Call .LoadVars(uIndex, UserDat, UserSubmission)
                .PopulateIt
                Exit Do
            Else
                uIndex = uIndex + 1
        End If
    Loop
    .Show
    AppActivate .Caption
End With
End Sub

When the Form opens the title bar is always greyed out until some part of the Form is clicked on.
I've spent hours trying to see why and can't figure it out. Can anyone help?

Thanks, ABB
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Mike, sometimes I despair! Spend ages looking for the cause, then carried on with more development... and suddenly noticed the Title bar
does have focus, all is working as expected. I can't make it not work !
But thanks for your thoughts. :)
 
Upvote 0

Forum statistics

Threads
1,221,691
Messages
6,161,325
Members
451,697
Latest member
pedroDH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top