• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

conditionel goto command in vba

dewr

New Member
Hi experts, i want to create a button on my sheet, which will take me conditionally to the next step.
if the first is not complete it will take me back to the first step (i don't want to use the hyperlink formula)
so, I want to do something like a conditional gotocell macro, and assign it on a shape.
(in the picture, just if first and last names are entered i want it should take me back to the next sheet, if not it shold take me back to the empty fields)

As a hyperlink I would write something like this: =HYPERLINK("#"&IF(I10="","Name!I10",IF(I14="","Name!I14","details!a1")),"Next>")
 

Attachments

  • ‏‏צילום מסך (6).png
    ‏‏צילום מסך (6).png
    33.2 KB · Views: 3
Back
Top