+ Reply to Thread
Results 1 to 3 of 3

SeriesCollection XValues in UserForm ComboBox displaying as numbers instead of dates

  1. #1
    Registered User
    Join Date
    04-30-2014
    Location
    Waltham
    MS-Off Ver
    Excel 2010
    Posts
    4

    SeriesCollection XValues in UserForm ComboBox displaying as numbers instead of dates

    Hi all,

    I am successfully able to add the XValues from a chart to an Userform ComboBox using the code below. However, when I use the ComboBox, it displays the XValues as the number version of a date instead of the short date format used in the spreadsheet. How do I get the ComboBox to display a date format?

    Please Login or Register  to view this content.
    Thanks!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: SeriesCollection XValues in UserForm ComboBox displaying as numbers instead of dates

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    04-30-2014
    Location
    Waltham
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: SeriesCollection XValues in UserForm ComboBox displaying as numbers instead of dates

    Thanks! That worked perfectly.

+ 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. Chart SeriesCollection(i).XValues "error 1004: invalid parameter"
    By aochan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2016, 04:16 AM
  2. [SOLVED] Populating and Displaying Combobox in userform
    By ActuaryInTraining in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2014, 12:42 AM
  3. Displaying full values combobox - userform
    By greekboyuk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2011, 09:14 AM
  4. Displaying more than one column in a userform combobox
    By penny in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-14-2009, 12:04 PM
  5. SeriesCollection(i) and XValues= Array() error
    By MJKulangara in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2006, 02:55 PM
  6. [SOLVED] Displaying XValues and Values for chart using VBA
    By Barb Reinhardt in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-12-2006, 09:40 PM
  7. Can't set Chart's SeriesCollection XValues
    By BW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2005, 01:05 AM

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