+ Reply to Thread
Results 1 to 5 of 5

Fill list validation without range

  1. #1
    Registered User
    Join Date
    11-03-2006
    Posts
    18

    Fill list validation without range

    Hi all,

    I'm trying to fill a list with some hard values. When I use the macro recorder it adds formula="choice 1;choice 2; etc", these are all separate values in the list. However if I use this within a macro I only have one option with all three values combined

    Any ideas how I can enter separate values throug a macro? thanks.

    BR,

    Jivo
    Last edited by Jivo; 06-22-2009 at 08:45 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Fill list validation without range

    Try switching the ; to a ,

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Fill list validation without range

    I'm not sure what you mean, adding a list as dat validation would require an array of values.

    Please Login or Register  to view this content.
    I can't really see why you need VBA to do this
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    11-03-2006
    Posts
    18

    Re: Fill list validation without range

    Mmm, the problem appears to be sorted when the workbook is reopened... It's probably a small error in the updating of a list.

    To clarify the issue:
    In an active workbook the macro filled validation displays:
    -Yes; No; OK

    while it should be:
    - Yes
    - No
    - OK

    regards,

    Ivo

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Fill list validation without range

    That's what the code that I posted does!

+ 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