What i want is to be able to select any amount of cells and press a button that will register information . all information is put horizontally, meaning that if i select L10 and press the button, N10,O10, and P10 will be changed according to what i tell them to.
i've been successful in doing this but it has a slight issue. as long as the information on the selected cells are unique, it works fine. but i want to be able to use column L, which will have random numbers that may frequently be the same as in other cells.
If cel.Value = Range("g16") Then
Range("ff16").Value = True
Range("p16").Value = Now
If Range("m16").Value <= 0 Then
Range("o16").Value = Range("o16").Value & " | " & VarNUMCB
Else
End If
Else
If cel.Value = Range("e16") Then
Range("ff16").Value = True
Range("p16").Value = Now
If Range("m16").Value <= 0 Then
Range("o16").Value = Range("o16").Value & " | " & VarNUMCB
Else
End If
Else
End If
End If
expected:
L10 Selected,L11 Selected,L18 Selected,L23 Selected -> button is pressed -> Pop-up box asking for signature ->N10,N11,N18,N23 gets ticked, O10,O11,O18,O23 shows signature and P10,P11,P18,P23 shows date and time.
happens: if the value from L happens to be the same as any other random L cell, it will apply the changes to both, which i dont want to.
IF Len(cel.Value) = 0 Then 'Do Nothing
– tigeravatar