+ Reply to Thread
Results 1 to 3 of 3

Enter Key = macro execution

  1. #1
    Registered User
    Join Date
    01-07-2016
    Location
    Brazil
    MS-Off Ver
    office 2010
    Posts
    2

    Question Enter Key = macro execution

    Hello guys, I have a problem. When I press the enter key to run my macro it works but only the cell A5 is active.

    This macro executed by enter key runs an advanced search on A5:G5. it may contain several criteria or just one but when I write on B5:G5 it does not work.

    The advanced search macro

    Please Login or Register  to view this content.
    The enter key macro

    Please Login or Register  to view this content.
    Last edited by alansidman; 01-07-2016 at 09:46 AM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Enter Key = macro execution

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    01-07-2016
    Location
    Brazil
    MS-Off Ver
    office 2010
    Posts
    2

    Re: Enter Key = macro execution

    Quote Originally Posted by felipepaz View Post
    Hello guys, I have a problem. When I press the enter key to run my macro it works but only the cell A5 is active.

    This macro executed by enter key runs an advanced search on A5:G5. it may contain several criteria or just one but when I write on B5:G5 it does not work.

    The advanced search macro

    Please Login or Register  to view this content.
    The enter key macro

    Please Login or Register  to view this content.
    Thanks for the advice.

    More info:

    I was seeing my sheet and the Enter only works when I type number, only numbers. But just one cell is filled with number, the other cells need typing text to do the search. What can it be?
    Last edited by felipepaz; 01-08-2016 at 06:36 AM. Reason: more info about the code

+ 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. Pause Macro, move to another cell, continue macro execution
    By slotcardan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2014, 08:23 PM
  2. [SOLVED] Slow Macro Execution
    By Gandalf2524 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-18-2013, 12:20 PM
  3. Messagebox prompt then allow user to enter data before continuing code execution
    By wazimu13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2013, 09:17 AM
  4. Hiding Macro Execution
    By dhatul in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-07-2010, 03:02 AM
  5. Problem with execution of a macro
    By pierre08 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-26-2010, 10:15 AM
  6. macro execution
    By ethyl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2008, 06:43 PM
  7. [SOLVED] Macro execution time
    By Henry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2005, 11:05 AM
  8. [SOLVED] controlling macro execution
    By sree in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2005, 10:06 PM

Tags for this Thread

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