Negative format

G

Guest

Hi

How can i make this
til1pris.Value = FormatNumber(Range("beregnforsikring!$q$1").Value, 2)

So the value in beregnforsikring!$q$1 become negative.

regards alvin
 
H

Harald Staff

Hei Alvin

In very general, what these things do is taking whatever meaningful from the
right side of the = and put this result to the lucky winner on the left
side. So what you do here is setting the til1pris value, you are not
changing the q1 value.

But the code is a little mysterious. Please provide some more detail.

HTH. Best wishes Harald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Red cell for negative numbers in Excel 1
Fomat with Code Q 5
UnSelect the copied to range after copy... 4
loop help 6
Graphing Negative Time 1
Only 2 decimals 10
Absolute value 2
Fill color when negative 1

Top