+ Reply to Thread
Results 1 to 2 of 2

Working with negative numbers

  1. #1
    Registered User
    Join Date
    12-13-2008
    Location
    Canberra
    Posts
    1

    Working with negative numbers

    Hello,

    I have a macro that captures a number from a cell and puts it into a variable; however, when that number is a negative, it seems to be be stored as a positive in the variable. I would just like to know how to keep the number as a negative (if it is a negative) in the variable.

    Cheers,

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284
    Sounds ood, show us the code.

+ 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