PC Review


Reply
Thread Tools Rate Thread

Adding negative currency automatically

 
 
quetzalc0atl@hotmail.com
Guest
Posts: n/a
 
      10th Oct 2006
Hello,

I've devloped a little spreadsheet to keep track of my finances.
In it all the columns are formatted to currency 2dp.

In the outgoings column I would like to insert a number and have it
automatically change to a negative currency. So basically I don't want
to press the - key each time i enter a value into that column. There
are no properties in the currency format to do this so I am stuck :-S

Any suggestions to how this can be done would be greatly appreciated!

kind regards,

Clive

 
Reply With Quote
 
 
 
 
Chris Lewis
Guest
Posts: n/a
 
      10th Oct 2006

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I've devloped a little spreadsheet to keep track of my finances.
> In it all the columns are formatted to currency 2dp.
>
> In the outgoings column I would like to insert a number and have it
> automatically change to a negative currency. So basically I don't want
> to press the - key each time i enter a value into that column. There
> are no properties in the currency format to do this so I am stuck :-S
>
> Any suggestions to how this can be done would be greatly appreciated!
>
> kind regards,
>
> Clive
>


I guess you need to use the change event for the cell and multiply the
content of that cell by -1. I'm a newbie so I cant tell you any more detail
though.

--
Chris Lewis


 
Reply With Quote
 
=?Utf-8?B?U3RlZmk=?=
Guest
Posts: n/a
 
      10th Oct 2006
You can do that with this Change event sub:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 6 Then 'column F, adjust to No of your outgoings
column!
Target.Value = -Target.Value
End If
End Sub


Regards,
Stefi

„(E-Mail Removed)” ezt *rta:

> Hello,
>
> I've devloped a little spreadsheet to keep track of my finances.
> In it all the columns are formatted to currency 2dp.
>
> In the outgoings column I would like to insert a number and have it
> automatically change to a negative currency. So basically I don't want
> to press the - key each time i enter a value into that column. There
> are no properties in the currency format to do this so I am stuck :-S
>
> Any suggestions to how this can be done would be greatly appreciated!
>
> kind regards,
>
> Clive
>
>

 
Reply With Quote
 
Carim
Guest
Posts: n/a
 
      10th Oct 2006
Hi Clive,

Use Format Cell Number Custom
and enter your customised format, e.g. -$#,##0.00


HTH
Cheers
Carim

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to format negative currency as red with a negative sign? Dab Microsoft Excel Discussion 4 10th Jun 2008 02:03 PM
Negative currency Srenfro Microsoft Access 2 27th May 2008 11:10 PM
Negative Currency David Adamson Microsoft Excel Programming 2 8th Aug 2005 02:05 AM
negative currency with () and - joeldsmt Microsoft Excel Misc 2 15th Jun 2005 10:06 PM
negative currency Microsoft Access Database Table Design 4 19th Dec 2004 09:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:53 AM.