+ Reply to Thread
Results 1 to 3 of 3

Cant move focus to the control because (Error)

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Cant move focus to the control because (Error)

    I had to reset my excel on friday now today I'm getting an error when opening up an workbook.

    The error is " Cant move focus to the control because it is invisible ,Not enabled or type that does not accept focus.

    I have this code in a workbook when the workbook opens
    Please Login or Register  to view this content.
    It use to work just fine to the reset of excel. Any idea's on how to correct the problem?

    Thank You, Mike
    Last edited by realniceguy5000; 09-28-2009 at 09:40 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Cant move focus to the control because (Error)

    I can't see anything in that code to cause the error, is it possible to upload the workbook?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Cant move focus to the control because (Error)

    Quote Originally Posted by royUK View Post
    I can't see anything in that code to cause the error, is it possible to upload the workbook?
    I think I found the problem, I have some code that places the code above in a workbook.So when the user opens it fits there screen correctly.

    At some point this code was placed in my personel macro workbook so when I was trying to open the Other workbook it was trying to switch to my hidden personel macro workbook.

    Anyway I removed the code from "thisworkbook" that was in my macro workbook and everything worked like it was suppose to.

    Just not sure how that code was placed there.

    Anyway it's seems to be working fine now.

    Thank You, Mike

+ 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