Results 1 to 6 of 6

Keep UserForm Linked to Particular Workbook Even if Focus is Lost

Threaded View

  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003
    Posts
    8

    Keep UserForm Linked to Particular Workbook Even if Focus is Lost

    I have an excel program that uses a modeless userform. often times i will open other spreadsheets while the form is active or minimized. if i return to the form and run it without manually bringing focus to the appropriate workbook, i get an error because it references the wrong workbook.

    is there a way to keep that form tied to that workbook no matter what? also, it is important that this procedure works despite the workbook name changing.

    thanks!
    Last edited by prattleon; 01-20-2010 at 01:49 PM.

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