+ Reply to Thread
Results 1 to 8 of 8

Show macro code

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Show macro code

    Hello everybody
    I have the following code that let me navigate to specific module:

    Please Login or Register  to view this content.
    It works well .. but I want the code to go directly to the specified procedure ...which is here (TestC)
    The code navigates to the specific module but not to the specific procedure
    Here's an attachment
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Show macro code

    You could just create, or change existing macro button for TestC. I tried it and it works.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Show macro code

    I mean to naviate to Procedure TestC not to run it .. After clicking the button, I expect the mouse cursor to be in TestC procedure

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Show macro code

    My bad, I didn't pay attention to the navigate part of your first post. I have a partial solution, this code will navigate to TestA, maybe you can figure out how to get it to TestC while I try to figure it out as well?
    Please Login or Register  to view this content.
    Replace your code with this one.

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Show macro code

    I got it, change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    This will get it to TestC

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Show macro code

    Scratch the last post

  7. #7
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Show macro code

    Actually scratch both my posts, I screwed up
    Last edited by gmr4evr1; 12-27-2014 at 02:05 PM. Reason: Correct typo

  8. #8
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Show macro code

    Thanks for trying to help me but it doesn't work at all

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro code to show only the rows with specific cell text in a particular column
    By Itachi1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2013, 01:33 PM
  2. Code to show date as hh:mm when saving via macro
    By Greed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-15-2011, 03:04 PM
  3. VBA CODE to Show Date After Running Macro
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2009, 12:36 PM
  4. macro code to show userform
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 05-15-2008, 01:47 PM
  5. Macro code to show a graph (in sheet2)
    By cenee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-26-2006, 09:18 PM

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