G
Guest
Hi All
Ok, I'm new to VB but learning slowly. I have what is probably a simple problem
I'm using a single spinner to increase/decrease the value of my quantity field in my spreadsheet. I want to limit the cells with which the spinner works to a specific range
ie
Range = A1:A1
Clicking in one of the cells in this range allows the spinner to increase/decrease the value in that cel
If in any other cell and the spinner is clicked, nothing happens
My code (for the Up button) currently looks like
Private Sub SpinButton1_Spinup(
ActiveCell.Value = ActiveCell.Value +
End Su
I need to limit this function to the range A1:A10 - I was going to use an 'IF' function, but couldn't complete it
Can anyone help
Thank
Stan
Ok, I'm new to VB but learning slowly. I have what is probably a simple problem
I'm using a single spinner to increase/decrease the value of my quantity field in my spreadsheet. I want to limit the cells with which the spinner works to a specific range
ie
Range = A1:A1
Clicking in one of the cells in this range allows the spinner to increase/decrease the value in that cel
If in any other cell and the spinner is clicked, nothing happens
My code (for the Up button) currently looks like
Private Sub SpinButton1_Spinup(
ActiveCell.Value = ActiveCell.Value +
End Su
I need to limit this function to the range A1:A10 - I was going to use an 'IF' function, but couldn't complete it
Can anyone help
Thank
Stan