IfThen Macro

S

shasta

What i'm tryin to do is:

When the user types in the number 2 in to a certain cell i want
particular sheet to cum up and if they type in any other number int
the cell then i want another sheet to pop up....the code that i trie
was

Sub EasyPeasyIF()


If (ActiveCell("H12") = (2)) Then

Sheets("Fantastic").Select

Else

Sheets("Oh no").Select

End If
End Sub

but its obvioulsy not correct....could someone please hel
me!!!!!!!:eek
 
S

shasta

thats wiked...thank you very much...its answered sum questions i din'
even realise i had....thank you!!!!!;) :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top