+ Reply to Thread
Results 1 to 2 of 2

How to make macro work two ways?

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    201

    How to make macro work two ways?

    I have the follwing code assigned to a picture so when i press it the screen goes full:
    Please Login or Register  to view this content.
    Now i would like to press the same image again and the screen wents back to normal. The code to do this is done by simply replacing the "True" by "False". The problem is: how do i assign 2 macros two a picture so when i press the first one is executed, then i press again and now the other one is executed, then i press again and now its the first one again, and on and on...

    Maybe just really simple and i dont know how to do it....

  2. #2
    Forum Contributor
    Join Date
    06-25-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    201

    Re: How to make macro work two ways?

    Solve it... never mind lol just figured out if i change the code like this:
    Please Login or Register  to view this content.
    it will work the two ways i want without have to create 2 different macros.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1