+ Reply to Thread
Results 1 to 6 of 6

VBA - Execution error

  1. #1
    Registered User
    Join Date
    04-29-2019
    Location
    Abidjan
    MS-Off Ver
    2016
    Posts
    2

    VBA - Execution error

    Morning,

    Please help me to optimize my code see below.
    Actually i have an execution error 1004 at line "Selection.Offset(1, 0).Select"
    Please Login or Register  to view this content.
    Last edited by alansidman; 04-30-2019 at 06:52 AM.

  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,897

    Re: VBA - Execution error

    Code Tags Added
    Your post does not comply with Rule 2 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



    (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
    04-29-2019
    Location
    Abidjan
    MS-Off Ver
    2016
    Posts
    2

    Re: VBA - Execution error

    Morning,

    Thanks you for quick reply.
    See below my code with right statement.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA - Execution error

    What cell is selected when the error occurs?
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Exclamation Re: VBA - Execution error


    It's exactly the same question I asked him on another forum (so again a wild cross-posting case !) but his new post did not even answer …

  6. #6
    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,897

    Re: VBA - Execution error

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)

+ 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. Help with Reslving a VBA Code Execution Error
    By yegor2000 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-29-2014, 12:39 AM
  2. [SOLVED] Execution error 1004
    By SIMBAtheCAT in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2014, 10:55 AM
  3. [SOLVED] VBA Code Error Upon Execution
    By MacroMan87 in forum PowerPoint Programing
    Replies: 4
    Last Post: 09-21-2013, 01:28 AM
  4. VBA error during execution at Exit Sub
    By sportsguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2013, 01:32 PM
  5. Execution error 91
    By afortes in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-21-2010, 07:00 AM
  6. Error execution Report
    By pierre08 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-28-2010, 05:21 AM
  7. [SOLVED] Error: Double execution of macro :-(
    By Miguel Angel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2006, 07:45 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