+ Reply to Thread
Results 1 to 2 of 2

Cant find project or library

  1. #1
    Newbie
    Guest

    Cant find project or library

    whats wrong with this code:

    For Each c In Me.Controls
    If TypeOf c Is msforms.TextBox Then c.Text = ""
    If TypeOf c Is msforms.ComboBox Then c.Text = ""
    Next

    ... was working fine but now gives the above error message on execution.

    Appreciate all help.

  2. #2
    Forum Contributor
    Join Date
    06-02-2005
    Location
    India
    MS-Off Ver
    2007
    Posts
    138
    Try this:

    Go to menu: Tools-> Macro-> Visual Basic Editor
    (or use shortcut key: ALT+F11)

    In your editor now go to menu: Tools-> References...
    Upon clicking 'References...' , References - MenuToolbar box will pop-up.

    In Available references, uncheck those all boxes which names start with
    'Missing' and click button OK.

    Try running your macro again and see whether helps.

    Cheers
    ilyaskazi

+ 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