+ Reply to Thread
Results 1 to 7 of 7

set data validation source list

  1. #1
    Registered User
    Join Date
    08-29-2012
    Location
    Amman
    MS-Off Ver
    Excel 2007
    Posts
    36

    set data validation source list

    Hi ,,,

    I have a data validation list in B2 .. I want to update its source when I enter the page

    I want the source to be the following : "=template!$B$3:$B$last row"

    which is from B3 to last row in B in "template" sheet


    how can I do that using VBA ??

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,912

    Re: set data validation source list

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-29-2012
    Location
    Amman
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: set data validation source list

    Thanks TMShucks .. but my problem not this ..

    what to write before this part of code "=template!$B$3:$B$" & lastrow ????

  4. #4
    Registered User
    Join Date
    08-29-2012
    Location
    Amman
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: set data validation source list

    this was my try .. but for sure it is wrong !!

    Please Login or Register  to view this content.
    I want to know how to make it pleeeease ..

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,912

    Re: set data validation source list

    Please Login or Register  to view this content.

    Regards, TMS

  6. #6
    Registered User
    Join Date
    08-29-2012
    Location
    Amman
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: set data validation source list

    Thanks TMS .. thats what I want

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,912

    Re: set data validation source list

    You're welcome.

+ 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