Link to home
Start Free TrialLog in
Avatar of kateebebe
kateebebeFlag for United States of America

asked on

Compile Error. Function Call on Left Hand Side of assignment must return variant or object?????? Need Help.

I am getting an error on the sub below.  Im afraid I have no idea what I did wrong.  I am giving 500pts because I really need to do this as soon as possible.



Sub Jordan()

UserForm20.Hide
Sheets("Jordan").Visible = True
MsgBox = "This is a low freq country"

    Sheets("Jordan").Select

End Sub
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kateebebe

ASKER

dear lord, I knew it must of been something simple and easy!!!  Ugg!
Thank you.  Im almost embarrassed now.  hee hee