View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
the nomad the nomad is offline
external usenet poster
 
Posts: 5
Default Please help - Spin Button

Dear Experts,

Can you please help me to write the code for the following.

In Cell "A1" I have a value, e.g. 3
In Cell "B1" I have an equation with the value in "A1", e.g.
=SQRT("A1"^2+2.5*"A1"-1.4)

I also have a Spin Button that I want to use to increase
SpinButton1_SpinUp() or decrease SpinButton1_SpinUp() the value in A1 with
an increment of 1 every time I click Up or Down so that the calculation in
B1 would change. But I want this value to be saved in A1 as well when I exit
Excel and open again.

Thanks a lot!

Cheers,
Ginger