Welcome to the board.hello,
i have a problem with my excel sheet. I want to when i click to button, excel will check value of A1 and when A1=1 will make process 1, when A1=2 will make process 2, ....
Can you help me please?
Thanks
Sub MyProcess()
Select Case Range("A1").Value
Case 1: 'Code to do process1
Case 2: 'Code to do process2
'More of this
End Select
Care to share your thoughts on what "process this" means?Hello,
thanks for your respond very much!
On click of button check:
When value of A1=1
process this
When value of A1=2
process this
.
.
.
Thanks!
if A1=1 take value from B1 and put it to C1 and edit value in A1 to 2
if A1=2 take value from B1 and put it to C1 and edit value in A1 to 3, and .........
Its ok?
no endle loop....i think that when one of condition is true, the macro will stop