+ Reply to Thread
Results 1 to 1 of 1

Function arguments prompt causing problems

  1. #1
    Registered User
    Join Date
    05-12-2010
    Location
    Louisville, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    1

    Function arguments prompt causing problems

    I've coded several functions that access my company's back-end database. Each function calls a procedure to check if the ADODB.Connection exists and is active. If it isn't, a custom login prompt form is displayed. All this works very well.

    My problem is that if the user hasn't logged in yet and prompts one of these functions, the login form is displayed, but the UserForm_Activate procedure didn't run, and when I click the "Log in" button, no code is executed. All I can do is close the form.

    Any ideas? If there's a way to prevent Excel's "Function arguments" prompt screen from trying to run my function, that's acceptable, but I'd much prefer if the login form would work in this scenario.

    --Bryan
    Last edited by bryan641; 05-12-2010 at 09:11 AM.

+ 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