Avatar of ca1358
ca1358 asked on

Make a Excel Cell default to a negative number

Using Excel 2003

How do you make a cell default to a negative number?

Programming Languages-OtherVisual Basic ClassicMicrosoft Excel

Avatar of undefined
Last Comment
ottid888

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Wayne Taylor (webtubbs)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
ca1358

Than you.
ottid888

hi, i tried the code and it was successful for a range like from cell b11 to b55. or b11 to m11 but what if i would also like other cell ranges in the spreadsheet to reflect as negative? like cell g55, z45 etc? not on the same row or column?  can you help me on it?  i tried adding the range arguements to the line in --> If Intersect([A1:A100], Target) Is Nothing Then Exit Sub  <--- like [G55:M55], [E42]  but it seems they all just become positive.  but if it's only one bracket range like the [A1:A100] then it's ok.  pls help thanks.
Wayne Taylor (webtubbs)

Specify the ranges within the square brackets, like this...

    [A1:A10, C1:C5, G55, Z45]

Wayne
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ottid888

Thanks!!  yes was about to do that, just didn't quite understand excel's cryptic commands.  :)

cheers!!!