+ Reply to Thread
Results 1 to 4 of 4

Check the value decimal

  1. #1
    Registered User
    Join Date
    09-16-2008
    Location
    malaysia
    Posts
    89

    Check the value decimal

    hi all,
    i am facing a problem here.
    i hv a column "O" which its format cells is number with decimal places is 2

    when i click a command button, i want to have another value in column "P"

    Below is my coding:

    Please Login or Register  to view this content.

    but my problem is when my value in column "O" is "35" the the output come out in column "P" is 3.5, the answer should be 10,
    it seems like cannot check the value which is more than 10 and ignore the decimal in column "O".

    Can someone please help me. thanks.
    Last edited by VBA Noob; 09-22-2008 at 08:18 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Try removing the speech marks around the numbers.
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    09-16-2008
    Location
    malaysia
    Posts
    89

    thanks

    thanks you so much.. it works

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    It could be tightened up a little:
    Please Login or Register  to view this content.
    ... or
    Please Login or Register  to view this content.
    Last edited by shg; 09-23-2008 at 01:19 AM.
    Entia non sunt multiplicanda sine necessitate

+ 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. Excel 2007 : help with check boxes
    By lmm07468 in forum Excel General
    Replies: 3
    Last Post: 03-04-2011, 01:40 PM
  2. Check Boxes & Linkedcell
    By MBigD011 in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 03-15-2010, 10:34 AM
  3. Replies: 2
    Last Post: 09-18-2008, 11:19 PM
  4. VBA; find string and copy
    By Bill Rudd in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-06-2008, 10:41 PM
  5. Bank rec v2, deleting matching check #'s
    By Jerhansen277 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2007, 11:59 AM

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