+ Reply to Thread
Results 1 to 10 of 10

Disallow Special Characters,Certain Numbers Using Data Validation through VBA

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    Disallow Special Characters, Certain Numbers Using Data Validation through VBA

    Dear Forum,

    How do I Disallow Special Characters, Certain Numbers Using Data Validation through VBA?

    I want to prevent the Range of Numbers beyond 6 in a particular Column F..
    If I have a formula for not repeating or preventing duplicate entries in a Column, How would I do that using VBA?

    Good Link:
    http://www.tvmcalcs.com/blog/comment...ta_validation/

    BUt actually I did not follow the example in it using the Formulas:

    Please Login or Register  to view this content.

    WorkSheet Formula:

    Please Login or Register  to view this content.
    What does this imply?

    And the Tool Tip or the Data Validation Text which appears can that be programmed too using VBA to change the colour to the TEXT making it BOLD or even get Dynamic Text..!!

    Warm regards
    e4excel
    Last edited by e4excel; 10-06-2011 at 08:42 AM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    How many questions are in this post ?

    Please read it over as if you read it for the fist time.
    Also I don't see the relationship between the content of your post and it's title.....
    Last edited by snb; 10-26-2011 at 04:46 AM.



  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    Dear Snb,

    I totally agree that the Title and the no of queries are more but they are actually in the same context as I want to get an idea of using the Data Prevention for Unwanted Entries but by using VBA and there would be typically 2-3+ and more scenarios and indirectly those many ways of expressing the same in VBA and so i happened to mantion that..

    AS far as the TOOL TIP or the Data Validation goes its actually linked with the query..

    Though the requirements are more but they are linked to Data Validation..

    Warm regards
    e4excel

  4. #4
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    Anyways,

    Dear SNB can you atleast help me with the First 2 Queries in regards with the Data Validation , if the need be I will start a New Thread for the Tool TIp..later..

  5. #5
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Bump No Response

    Atlease can someone help me with the Basic 2 requirements of preventing entries over Number N = 3 and disallowing TEXT in a numeric Column

  6. #6
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    Some Links but I need this in VBA

    http://dmcritchie.mvps.org/excel/validation.htm

    SOme USefuL Info for everyone at a Glance:

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    The data validation example that you showed actually disallows the user from entering special characters using the excel spreadsheet and vba. Let me go through it in a lil more detail and see how i can help you convert it entirely into vba. We do have experts in the forum like snb, Andrew-R, daddylonglegs who too might be able to help out.

  8. #8
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    Quote Originally Posted by arlu1201 View Post
    The data validation example that you showed actually disallows the user from entering special characters using the excel spreadsheet and vba. Let me go through it in a lil more detail and see how i can help you convert it entirely into vba. We do have experts in the forum like snb, Andrew-R, daddylonglegs who too might be able to help out.
    Thanks for the assurance Arlu, I will wait for the solution thence.
    Ofcourse, I have always received help from these Stalwarts..

  9. #9
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Bump NO Response

    Bump NO Response

  10. #10
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Disallow Special Characters,Certain Numbers Using Data Validation through VBA

    Bump No response

+ 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