+ Reply to Thread
Results 1 to 7 of 7

create an interactive pop-out window with buttons from sheet

  1. #1
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    create an interactive pop-out window with buttons from sheet

    First I'd like to thank everyone who's helped me along in build my current spreadsheet. The latest bundle of fun change involves trying to change my sheet around so the buttons that the participant interact with all be displayed in a nice pop-out window because the participants "aren't supposed to see anything else". I've been messing around with creating a pop-up window but had no luck whatsoever.

    All I really need it do to is be able to click the "Begin SSQ" button and have cells A10:G45 appear in a separate window. Once the user makes their selections, then can click "Click to Finish" and it returns back to the spreadsheet.

    As long as the button selections made in the popup window remain on the spreadsheet I can process all the data from there. Haven't been able to find a good way to make it work so for now I have a Hide and Unhide macro set up to hide the stuff their not supposed to see. Everyone just feels it'd be better if participants weren't looking at the excels cells while filling in their survey.

    I've uploaded the file for anyone that wants to take a look. Thanks again all!
    Attached Files Attached Files
    Last edited by cowboy713; 12-10-2010 at 06:06 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: create an interactive pop-out window with buttons from sheet

    Hello cowboy713,

    I don't have Excel 2007. When I open macro enabled workbooks in 2007, I can read them. Running them works most of the time and changing them is a gamble. That seems to be the case here. I have it working except the UserForm closes after a entry is made. This does not happen in an Excel 2003 workbook, just the converted workbook. If you can post a 2003 copy, I'll add the changes and you can resave it as a 2007 copy.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: create an interactive pop-out window with buttons from sheet

    Ok heres the 2003 save of the updated document. If it would work better saved as a template I could do that.
    Attached Files Attached Files

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: create an interactive pop-out window with buttons from sheet

    Hello cowboy713,

    I went ahead and copied the workbook information into a new 2003 workbook. I have test it and it works correctly in 2003. If it doesn't work when you save in 2007 format, you can copy over the code and the form to your 2007 workbook. Here is the macro code.

    UserForm Code
    Please Login or Register  to view this content.


    Module1 Code
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: create an interactive pop-out window with buttons from sheet

    The user-form is definitely what I'll have to use, is there any way to have the formatting basically match whats between the A10:G45 range though? The way it's laid out has to resemble an original SSQ. It probably would have been easier to just build it all in VBS from the start but with as much data input as we're getting excel seemed to be a smarter option.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: create an interactive pop-out window with buttons from sheet

    Hello cowboy713,

    There is only one control I know of that looks like a spreadsheet. That is the MSFlexGrid control. However, I don't think this control is available anymore. The next closet control would be a ListView control except it doesn't have grid lines. This is a case where you will have to decide to fish or cut bait.

  7. #7
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Solved

    Well, I'll present both solutions to the other experimenters and see if their willing to sacrifice the format for the windowed survey. Thanks for all your help, I'll make sure to post an update on whatever ends up being decided with it.
    Last edited by cowboy713; 12-10-2010 at 06:04 PM. Reason: SOLVED

+ 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