I want to create a macro that checks the value in cell A1 and if >=85% it goes to sheet2 and if <85% it goes to sheet3
Sounds simple enough but it's beyond me.
Thanks
I want to create a macro that checks the value in cell A1 and if >=85% it goes to sheet2 and if <85% it goes to sheet3
Sounds simple enough but it's beyond me.
Thanks
You need to be a bit more specific, when you say if >=85% it goes to sheet2 and if <85% it goes to sheet3, what is it you want to go to sheet2 or sheet3 and where abouts you want it?
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
Hi,
![]()
Sub Test() Sheets("Sheet1").Select If Range("A1").Value >= 0.85 Then Sheets("Sheet2").Select Else Sheets("Sheet3").Select End If End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks