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
 
Ad

Advertisements

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
 
T

Tom Ogilvy

til1pris.Value = FormatNumber( _
Range("beregnforsikring!$q$1").Value * -1, 2)
 
Ad

Advertisements


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

Top