The Grey Labyrinth is a collection of puzzles, riddles, mind games, paradoxes and other intellectually challenging diversions. Related topics: puzzle games, logic puzzles, lateral thinking puzzles, philosophy, mind benders, brain teasers, word problems, conundrums, 3d puzzles, spatial reasoning, intelligence tests, mathematical diversions, paradoxes, physics problems, reasoning, math, science.

   
The Grey Labyrinth Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Anyone know how to make this object?

 
This topic is locked: you cannot edit posts or make replies.    The Grey Labyrinth Forum Index -> Off-Topic
View previous topic :: View next topic  
Author Message
Samadhi
+1



PostPosted: Sat Aug 09, 2003 8:37 pm    Post subject: 1 Reply with quote

I ran across a spreadsheet that has some nice dropdown objects in it. I can copy and paste them and change their ranges but they don't work the way they do in this. I can't set the relationship between the ranges the same.

Anyone know how to create them?
http://members.cox.net/samadhi69/Demo.xls
Back to top
View user's profile Send private message Send e-mail MSN Messenger
SaberKitty
one can always be hopeful...


PostPosted: Sat Aug 09, 2003 10:01 pm    Post subject: 2 Reply with quote

Add an ActiveX control(right from excell help)

  • Open the worksheet where you want to add an ActiveX control.
  • Display the Control Toolbox: point to Toolbars on the View menu, and then click Control Toolbox.
  • Click the button for the control you want to add.
  • On the worksheet, drag the control to the size you want.
  • If you're adding a check box, text box, command button, option button, list box, combo box, toggle button, or label, enter the text you want to appear on the control.
    How?

    -Right-click the control.
    -Point to the name of the object on the shortcut menu (for example, CheckBox Object).
    -Click Edit.
    -Edit and type the text.
    -When you're finished, press ESC.

  • Set the properties you want for the control: right-click the control, and then click Properties on the shortcut menu.

    For information about the properties, press F1 in the Properties dialog box to display the Microsoft Visual Basic Help for Microsoft Forms.

  • Do one of the following:
    Add VB macro code for a control to be used in Excel

    -Right-click the control, and then click View Code on the shortcut menu.

    -In the Visual Basic Editor, write your macro code.

    -For information about writing macro code, see Visual Basic Help.

    -To quit, click Close and Return to Microsoft Excel on the File menu.

    Add a Web script for a control to be used on a Web page

    -Click the worksheet anywhere within the data that will go on the Web page.

    -On the Tools menu, point to Macro, and then click Microsoft Script Editor.

    -In the Script Editor, write your script, using the control ID to handle events for the control.

    For information about developing Web scripts, click the option you want on the Help menu in the Script Editor window.

    -To return to Excel from the Script Editor, click Exit on the File menu.

  • To quit design mode and enable the ActiveX control, click Exit Design Mode .

  • Back to top
    View user's profile Send private message Send e-mail
    Porro
    Cool as a cucumber



    PostPosted: Sat Aug 09, 2003 10:03 pm    Post subject: 3 Reply with quote

    Looks complicated
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website
    ctrlaltdel
    Member of the Daedalians



    PostPosted: Sat Aug 09, 2003 10:07 pm    Post subject: 4 Reply with quote

    porro did you actually read it or just scrolled down for the size of the instructions?

    i just scrolled... still looks complicated
    Back to top
    View user's profile Send private message Visit poster's website
    Porro
    Cool as a cucumber



    PostPosted: Sat Aug 09, 2003 10:08 pm    Post subject: 5 Reply with quote

    I read halfway then went crosseyed
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website
    SaberKitty
    one can always be hopeful...


    PostPosted: Sat Aug 09, 2003 10:11 pm    Post subject: 6 Reply with quote

    ok
    go to view- to add toolbars- add the "controll toolbox"
    pick the icon that looks like a drop-down box,if you read the mouse-over, it says "list-box"
    click it and click where you want it to go, if you double click the box that shows up, it takes you to a window-thingy where you can input the code- which you said you know how to do
    yay, thenk click the icon on the box that popped up in a rondom new toolbar, and you're done
    Back to top
    View user's profile Send private message Send e-mail
    Beartalon
    'Party line' kind of guy



    PostPosted: Sat Aug 09, 2003 10:11 pm    Post subject: 7 Reply with quote

    The dropdown uses the Material Table range is it's source. The cell above the drop-down is filled with the index of the choice in the drop down.
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
    SaberKitty
    one can always be hopeful...


    PostPosted: Sat Aug 09, 2003 10:12 pm    Post subject: 8 Reply with quote

    that easier?
    Back to top
    View user's profile Send private message Send e-mail
    Samadhi
    +1



    PostPosted: Sat Aug 09, 2003 10:16 pm    Post subject: 9 Reply with quote

    Can't believe I missed the control toolbox in View. I read the Help too!
    Back to top
    View user's profile Send private message Send e-mail MSN Messenger
    Porro
    Cool as a cucumber



    PostPosted: Sat Aug 09, 2003 10:17 pm    Post subject: 10 Reply with quote

    Back to top
    View user's profile Send private message Send e-mail Visit poster's website
    Samadhi
    +1



    PostPosted: Sat Aug 09, 2003 10:19 pm    Post subject: 11 Reply with quote

    The main thing I wanted was that when you make a choice from the ComboBox it would update the Material_Level field. Now that I know how to get at the properties, I should be able to do that.
    Back to top
    View user's profile Send private message Send e-mail MSN Messenger
    Porro
    Cool as a cucumber



    PostPosted: Sat Aug 09, 2003 10:19 pm    Post subject: 12 Reply with quote

    I should think so too.
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website
    SaberKitty
    one can always be hopeful...


    PostPosted: Sat Aug 09, 2003 10:20 pm    Post subject: 13 Reply with quote

    heh, i've been more oblivious many-a time
    like how i dind't see the forum discriptions for like a year...
    Back to top
    View user's profile Send private message Send e-mail
    Samadhi
    +1



    PostPosted: Sat Aug 09, 2003 10:40 pm    Post subject: 14 Reply with quote

    Are you able to edit the one already on the spreadsheet? I can't seem to do that.
    Back to top
    View user's profile Send private message Send e-mail MSN Messenger
    SaberKitty
    one can always be hopeful...


    PostPosted: Sat Aug 09, 2003 10:44 pm    Post subject: 15 Reply with quote

    i dunno, if you go back to that toolbar- with the drop-down selected, you can select the "view code" or the "properties", but maybe they made it so you can't edit that specific one, becasue i cna't see any code when i choose that option...
    Back to top
    View user's profile Send private message Send e-mail
    Samadhi
    +1



    PostPosted: Sat Aug 09, 2003 10:48 pm    Post subject: 16 Reply with quote

    What type of object is that? It's not a regular ComboBox. And the Range "Material_Level" has to have code because that and the drop down are linked (change one, the other changes)
    Back to top
    View user's profile Send private message Send e-mail MSN Messenger
    HyToFry
    Drama queen



    PostPosted: Sun Aug 10, 2003 12:30 am    Post subject: 17 Reply with quote

    I tried to make one, and even made it, but I couldn't get it to leave design mode.
    Back to top
    View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
    Beartalon
    'Party line' kind of guy



    PostPosted: Sun Aug 10, 2003 1:48 am    Post subject: 18 Reply with quote

    Samadhi - the whole workbook is protected. If you try to unlock or unhide the formulas, you have to enter a password. Start from scratch and create the sheet, then in the selection_change event subprocedure for the drop-down in VBA, give the cell above the value of the drop down index.

    Range("A4:A4").Value = drop-down.index (or something like that)
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
    Samadhi
    +1



    PostPosted: Sun Aug 10, 2003 6:48 am    Post subject: 19 Reply with quote

    BT: It's not protected. That's what bugs me. Unless you're talking about something other than Tools--->Protection----->Worksheet etc
    Back to top
    View user's profile Send private message Send e-mail MSN Messenger
    Beartalon
    'Party line' kind of guy



    PostPosted: Sun Aug 10, 2003 8:07 am    Post subject: 20 Reply with quote

    Create the ranges.
    Create the combo box, and in it's properties:
    Set LinkedCell = Material_Level
    Set ListFillRange = Material_Table
    Set BoundColumn = 0 - This puts the combo boxes selection index in the Material_Level cell
    Back to top
    View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
    Samadhi
    +1



    PostPosted: Sun Aug 10, 2003 10:08 am    Post subject: 21 Reply with quote

    Cool. Thanks. Dumb thing won't activate (typing in value into Material_Level makes the associated value from Material_Table appear but nothing can be chosen from the drop down). But I'm sure I can get it from here. Thanks for being patient with my weekend brain death.
    Back to top
    View user's profile Send private message Send e-mail MSN Messenger
    Samadhi
    +1



    PostPosted: Mon Aug 11, 2003 7:11 pm    Post subject: 22 Reply with quote

    Just realized why it wouldn't activate.
    No more code for me on the weekends.
    Back to top
    View user's profile Send private message Send e-mail MSN Messenger
    JediSoop
    Cute as a button



    PostPosted: Tue Aug 12, 2003 3:41 am    Post subject: 23 Reply with quote

    ~peeks into thread~

    ~runs screaming in other direction~

    I have a VG and ActiveX test for my job this week...I suck at both
    Back to top
    View user's profile Send private message Send e-mail
    JediSoop
    Cute as a button



    PostPosted: Tue Aug 12, 2003 3:42 am    Post subject: 24 Reply with quote

    so much so that i messed up the acronym
    Back to top
    View user's profile Send private message Send e-mail
    HyToFry
    Drama queen



    PostPosted: Tue Aug 12, 2003 4:36 am    Post subject: 25 Reply with quote

    I'd rather have a VB test. VG is way too complicated for my puny mind.
    Back to top
    View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
    Display posts from previous: by   
    This topic is locked: you cannot edit posts or make replies.    The Grey Labyrinth Forum Index -> Off-Topic All times are GMT
    Page 1 of 1

     
    Jump to:  
    You cannot post new topics in this forum
    You can reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot vote in polls in this forum


    Powered by phpBB © 2001, 2005 phpBB Group
    Site Design by Wx3