Hi
I have the following code in a macro that creates sets the value of Cell B25.
<run code="">This works well but I now need it to do the following so it runs different code depending on the value of Cell B23:
I am learning so much from this forum and you helpful folks but my abilities have stalled on this?</run></run></run></run></run>
I have the following code in a macro that creates sets the value of Cell B25.
Code:
If Range("B23").Value = 2 Or Range("B23").Value = 3 Or Range("B23").Value = 4 Or Range("B23").Value = 5 Then run code
<run code="">This works well but I now need it to do the following so it runs different code depending on the value of Cell B23:
Code:
If Range("B23").Value = 1 Then run code A
<run code="">
but
If Range("B23").Value = 2 Then run code B
<run code="">
but
If Range("B23").Value = 3 Then run code C
<run code="">
but
If Range("B23"). Value = 4 Or Range("B23").Value = 5 Then run code D
<run code="">
I am learning so much from this forum and you helpful folks but my abilities have stalled on this?</run></run></run></run></run>