+ Reply to Thread
Results 1 to 4 of 4

Macro doesn't work with floating point numbers

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Exclamation Macro doesn't work with floating point numbers

    I already create this macro working well on this worksheet except the part that in DIVERSIFIED category, we use floating point numbers and it can't be read into the Matrix . Is there a way to fix this problem? Thanks alot.

    RM.xlsm

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Macro doesn't work with floating point numbers

    1. You did not DIM (declare any of your variables, therefore they are all type Variant)
    2. You did not include any remarks in your code to explain what you are doing.
    3. You did not identify the "matrix".
    Ben Van Johnson

  3. #3
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Macro doesn't work with floating point numbers

    4. You did not point to any part of the code where you suspect there might be a problem.

  4. #4
    Registered User
    Join Date
    05-10-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro doesn't work with floating point numbers

    well, the code worked absolutely fine if those columns in DIVERFIED category filled with interger numbers. But when they are changed to floating numbers, it doesn't work.

+ 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