+ Reply to Thread
Results 1 to 2 of 2

Format cells to only accept numbers

  1. #1
    cradino
    Guest

    Format cells to only accept numbers

    How can we format and protect cells to not accept text, only numbers?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    You could use Data Validation.

    Go to Data > Data Validation then select custom and insert this formula

    =ISNUMBER(E10:J19).....Change range as required.

    You can also put instructions to the user in Input message and error messages when they try to enter non numbers

    This link should help

    http://www.contextures.com/xlDataVal01.html

    VBA Noob

+ 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