+ Reply to Thread
Results 1 to 2 of 2

Data validation allows numbers and some strings?

  1. #1
    Registered User
    Join Date
    12-29-2015
    Location
    Paris, France
    MS-Off Ver
    Office 2010
    Posts
    31

    Data validation allows numbers and some strings?

    Hi everybody,

    I want to do a data validation in BFF!range("A3:A40"). I want to only allow numbers from 0 to 24 and in the same time the list of strings "A" , "B", "C", "D". The list is present in Liste!range("C2:C100").

    here is the code for the first part (list of strings), but i don't know how to add the second part (numbers between 0 and 24).

    Please Login or Register  to view this content.

    Can someone helps me please
    Last edited by Ramo13541; 07-21-2016 at 08:30 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Data validation allows numbers and some strings?

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] Split strings based on numbers and gather scattered strings
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 04-10-2016, 09:44 PM
  2. Replies: 5
    Last Post: 09-12-2014, 04:10 PM
  3. Parsing numbers in strings/numbers concatenated together - CONT'D
    By twckfa16 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-29-2014, 08:57 AM
  4. [SOLVED] Parsing numbers in strings/numbers concatenated together
    By twckfa16 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-20-2014, 10:37 AM
  5. Macro VBA - Merge Text Strings into One Cell with data validation
    By tldk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-04-2011, 05:25 PM
  6. Macro VBA - Merge Text Strings into One Cell with data validation
    By tldk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2011, 05:50 AM
  7. Data validation - Whole Numbers
    By khalid79m in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-03-2007, 09:46 AM

Tags for this Thread

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