Hey all,
Sorry im new to this site and have spent quite abit of time today trying to find out the answer to this question but cant seem to find much so i thought id ask so here goes.
So what im trying to do is use a macro with a button that once clicked on will do the following.
if cell c1 has the word "uninstall" anywhere in it e.g Microsoftworduninstallpackage sort of thing then cell c3 will clear it self and be blank.
Ive tried lots of different things but cant seem to get it right.
Im probably really off track with this (beginner at this stuff) but this is what i have
Private Sub Uninstalls_Click()
If InStr(0, (Range("c1").Value), "uninstall") > 0 Then
Range("c3").ClearContents
End If
End Sub
Any help would be so good!
Sorry im new to this site and have spent quite abit of time today trying to find out the answer to this question but cant seem to find much so i thought id ask so here goes.
So what im trying to do is use a macro with a button that once clicked on will do the following.
if cell c1 has the word "uninstall" anywhere in it e.g Microsoftworduninstallpackage sort of thing then cell c3 will clear it self and be blank.
Ive tried lots of different things but cant seem to get it right.
Im probably really off track with this (beginner at this stuff) but this is what i have
Private Sub Uninstalls_Click()
If InStr(0, (Range("c1").Value), "uninstall") > 0 Then
Range("c3").ClearContents
End If
End Sub
Any help would be so good!