+ Reply to Thread
Results 1 to 5 of 5

ActiveSheet.TextBox1.Activate

  1. #1
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    ActiveSheet.TextBox1.Activate

    I use this code in workbook open to default the cursor to Textbox1, it gives me a lot of screen flicker on open. Is this
    normal or is there a different way to default the cursor?
    Please Login or Register  to view this content.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: ActiveSheet.TextBox1.Activate

    are you sure it's that line that causes it? does it have the same effect if you run it after the workbook opens?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: ActiveSheet.TextBox1.Activate

    If I delete the code on open, no flicker. I Put the code on a commandbutton and get no flicker when pushed. Getting
    flicker on open only,might have to live with it??

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: ActiveSheet.TextBox1.Activate

    try putting the code into a sub in a normal module then in the workbook open use
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: ActiveSheet.TextBox1.Activate

    Thanks Joseph, still flickers. I change the code to 5 seconds and still flickers. If I delete the code in workbook open no flickers. I did find
    a work around for my needs,I have a large listbox on the page so I put the code in a mouse move and get no flicker. Strange. The timer code is pretty cool,I will save it
    for another project.
    Z

+ 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