Consulting

Results 1 to 12 of 12

Thread: What type of control is it?

  1. #1
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location

    What type of control is it?

    What type of control is it that enables you to view data in an scrollable mini window on a form? And how does it work?

    Ted

  2. #2
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location
    There's the Office Web Components Spreadsheet control.
    On a userform it displays like an Excel sheet.
    Is this what your after?.

    Marcster.

  3. #3
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location
    I simply don't know. ( Yes I realise this is totally hopeless as an answer) Can it be adapted so that there's no gridlines and can it be set to pull data into such a window for viewing

    Ted

  4. #4
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location
    You can set it to pull data from a worksheet or other source
    when form opens or from another event.
    To display gridlines:
    Spreadsheet1.DisplayGridlines = False

    Marcster.

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    It might just be a ListBox if you just want a column (or a multi-column) list of values.

  6. #6
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location
    Looking a needing method to display the life history of a mechanical roll, used in steam flaking grain, by displaying 5 columns of data, ( Date, Mill No., Hours of use, Days of use, Current Status) when a Roll ID is selected from a drop down list. Hang on a bit and I'll see if I can make a sample file up

    Ted

  7. #7
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location
    Sorry will take longer than I thought, and its now 12:20am and I need to be up again in 4 hours. Just imagine a dropdown list which once a value is selected, that it causes the relevant data for that Roll ID number selected to be displayed in a scrollable window. If I'm not making sence, then tell me to go to bed.... but be quick cause I just might beat you to it.

  8. #8
    Administrator
    Chat VP
    VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    Sounds like a combo box to me...(maybe)
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

  9. #9
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location
    John, Is there a combo box sample in the Listings of KB.... never mind I'll go have a quick peep. Need to leave for work in a couple of minutes anyway.

  10. #10
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Hi there,

    So to get this straight...

    You want a drop down list (combo box) from which you'll choose the values. From there, the resulting record set will show in a scrollable 5 column window?

    I'm thinking combo box to a multi column listbox.

    Where is the data coming from?
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  11. #11
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location
    Ken, we are currently setting up a spreadsheet at work, but have been advised that maybe I should be setting up a database (Access) as an option. One of the guys at work suggested maybe use a pivot table, but I know squat diddly about them too.

    Ted

  12. #12
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by Aussiebear
    Ken, we are currently setting up a spreadsheet at work, but have been advised that maybe I should be setting up a database (Access) as an option. One of the guys at work suggested maybe use a pivot table, but I know squat diddly about them too.

    Ted
    http://peltiertech.com/Excel/Pivots/pivottables.htm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •