+ Reply to Thread
Results 1 to 6 of 6

Macro Module for tab order not fuctioning

  1. #1
    Registered User
    Join Date
    05-30-2014
    Location
    Lima, Peru
    Posts
    31

    Macro Module for tab order not fuctioning

    I have been trying to set the tab order for a spreadsheet and have followed several examples I have found on the web. I've followed the instructions to the letter to no avail.
    This is the last code that I tried:
    Please Login or Register  to view this content.
    The worksheet name that it needs to function on is named "Monthly Expenses"

    Can anyone tell/show me where I'm messing up.

    Regards,
    gfc
    Last edited by Mr.GfCs; 05-03-2015 at 07:23 PM. Reason: Issue Resolved

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Macro Module for tab order not fuctioning

    Put this Code into a normal Macro module


    Please Login or Register  to view this content.

    Put this code into the sheet specific macro module
    Right Click on "Monthly Expenses" at the bottom of excel and select view code
    Paste the code there and close the vba window

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Macro Module for tab order not fuctioning

    Quite a lot of your cell addresses use zero instead of O.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-30-2014
    Location
    Lima, Peru
    Posts
    31

    Re: Macro Module for tab order not fuctioning

    Thanks for the response, however, I did as you said and it's hung up on M3.

    This is the code in the sheet. The first section works just fine. I added your code below it:
    Please Login or Register  to view this content.
    This is what the macro code is entered as:
    Please Login or Register  to view this content.
    I have no idea why it's hanging on "M3"....

    The first part of the code above where I added your code to the sheet, functions perfectly... Could it be affecting what you had me put in?

    Thanks again,
    gfc

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Macro Module for tab order not fuctioning

    Try my Sample
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-30-2014
    Location
    Lima, Peru
    Posts
    31

    Re: Macro Module for tab order not fuctioning

    Mehmetcik,
    That did the trick. I copied the macro code: Public LastCell As String
    Please Login or Register  to view this content.
    and pasted it into the macro-code on my sheet and tried it. It now goes to the correct box's as needed. Thank you very much for your help on this. It was driving me nuts.

    Best Regards and many thanks,
    gfc

+ 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. Macro to export and import a module and assigning different macro automatically
    By Libster78 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-14-2015, 06:31 PM
  2. [SOLVED] Code locks cells when inserted in sheet module but returns error in standard module
    By yoda66 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2014, 07:39 AM
  3. how to access Sheet module, normal module, Worbook module to type code
    By alibaba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2009, 07:51 AM
  4. Module running order
    By czrich86 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2009, 07:38 AM
  5. Replies: 2
    Last Post: 03-27-2009, 11:48 AM

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