+ Reply to Thread
Results 1 to 2 of 2

Textbox disappears in freeze panes

  1. #1
    Registered User
    Join Date
    03-01-2005
    Location
    Wales
    Posts
    2

    Textbox disappears in freeze panes

    Hi,

    I am trying to use the Tab key to swap the focus between 3 textboxes in a spreadsheet as follow:

    ' Code in sheet1

    Private Sub TextBox1_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
    If KeyCode = 9 Then
    Sheet1.TextBox2.Activate
    End If
    End Sub
    Private Sub TextBox2_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
    If KeyCode = 9 Then
    Sheet1.TextBox3.Activate
    End If
    End Sub
    Private Sub TextBox3_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
    If KeyCode = 9 Then
    Sheet1.TextBox1.Activate
    End If
    End Sub


    This code works fine except if texboxes are in a freeze pane, the activated textbox disappears and appears again if I click on it.
    If the textbox is half in a freeze panes and half on the sheet, the textbox is half hatched

    Is it a bug?
    Is there a way to make it work properly?

    Thanks for your help
    Waititi

  2. #2
    Registered User
    Join Date
    03-01-2005
    Location
    Wales
    Posts
    2

    Textbox disappears in freeze panes

    Hi again,

    I forgot to say I saw the problem with excel 2000 and 2003 but it works fine with excel97.

    Cheers,
    Waititi

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1