+ Reply to Thread
Results 1 to 3 of 3

Displaying part of a spreadsheet on a VBA form

  1. #1
    Registered User
    Join Date
    10-08-2014
    Location
    Blacksburg, Virginia
    MS-Off Ver
    2013
    Posts
    18

    Displaying part of a spreadsheet on a VBA form

    I am trying to display a portion of my spreadsheet on a user form in VBA, the only thing I've seen so far is to right click on the toolbox and add another control called 'Microsoft Office Spreadsheet 11.0' however I don't see that as an option, although considering I have excel 2013 am not quite sure why. Any suggestions?

  2. #2
    Forum Contributor
    Join Date
    10-16-2014
    Location
    Center Line, Michigan, United States
    MS-Off Ver
    MS Office 2013
    Posts
    139

    Re: Displaying part of a spreadsheet on a VBA form

    Hello cmurda,

    Do you have a sample spreadsheet with a range you want displayed? Just remove any private information, or create a sample with dummy data.

    Edit: Go to this link, about halfway down the page. Copy the code where it says to, and you will be done!

    http://stackoverflow.com/questions/1...el-on-vba-form
    Last edited by Loganeb; 10-28-2014 at 08:44 PM.
    Please click the star (add rep) if I helped!

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Displaying part of a spreadsheet on a VBA form

    If you are displaying less than 10 columns, a multi-column list box is a quick way to display spreadsheet cells

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Displaying 0 as part of COUNTIF
    By Quality Geek in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-31-2013, 04:13 PM
  2. Displaying the date as part of a vlookup formula
    By john dalton in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2013, 11:13 AM
  3. displaying a spreadsheet in a userform using spreadsheet control
    By uduyt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2012, 08:09 AM
  4. displaying part of a cell contents
    By erikwvb in forum Excel General
    Replies: 3
    Last Post: 07-07-2011, 12:49 PM
  5. Displaying only part of a workbook
    By Bachi in forum Excel General
    Replies: 6
    Last Post: 03-27-2011, 03:08 PM

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