+ Reply to Thread
Results 1 to 3 of 3

Data Entry Validation [Excel 14/2010 (VBA Only)]

  1. #1
    Forum Contributor
    Join Date
    03-22-2012
    Location
    OR, USA
    MS-Off Ver
    Excel 14/2010
    Posts
    273

    Data Entry Validation [Excel 14/2010 (VBA Only)]

    I have the following section of code in a userform. I want to validate the data prior to it being written into the spreadsheet. For example, when testing I accidently typed 248..85. The Ccur(x) line then had a Type 13 mismatch error as currency does not have a double decimal point.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Data Entry Validation [Excel 14/2010 (VBA Only)]

    you can test it using isnumeric before you write it to the cell
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Contributor
    Join Date
    03-22-2012
    Location
    OR, USA
    MS-Off Ver
    Excel 14/2010
    Posts
    273

    Re: Data Entry Validation [Excel 14/2010 (VBA Only)]

    Thank you kindly. 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)

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