+ Reply to Thread
Results 1 to 5 of 5

Refedit control modal issue

  1. #1
    Registered User
    Join Date
    05-05-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    97

    Refedit control modal issue

    I am using a refEdit control on a userform to get a range from the user (they use the refEdit control to click on the desired range). My problem is that the user typically has 3 or 4 different workbooks open and if one of them is maximized withing Excel, the user is unable to get to them to select the range (only the maximized workbook is displayed and usable). Is there a way around this?
    Last edited by gtmeloney; 07-13-2009 at 12:43 PM.

  2. #2
    Registered User
    Join Date
    05-05-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    97

    Re: Refedit control modal issue

    I think that my problem stems from the fact that the userform that my refEdit control lives on is modal, but it needs to be that way. Any ideas?

    Note: If you setup an Advanced Filter in Excel there is a refEdit control that allows you to minimize and maximize workbooks while it is running. How do I get one of these?

  3. #3
    Registered User
    Join Date
    05-05-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    97

    Re: Refedit control modal issue

    Any help on modality would be appreciated here. I'm pretty sure that my issue stems from the fact that my userForm is modal, but it has to be modal inorder to force the user to provide input to the form before continuing with code execution

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Refedit control modal issue

    The RefEdit must be on a modal form to work at all. I don't know how AdvancedFilter does it, but you could add a button to the form that hides it (and caches the currently active sheet) to let the user selected the desired workbook, sheet, and range.
    Last edited by shg; 07-08-2009 at 06:26 PM.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    05-05-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    97

    Re: Refedit control modal issue

    The fix that I used was to create a button that when pushed displayed all of the active workbooks.

    Please Login or Register  to view this content.
    http://www.excelforum.com/excel-prog...nge-value.html

    Thanks, shg
    Last edited by gtmeloney; 07-14-2009 at 04:22 PM.

+ 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