+ Reply to Thread
Results 1 to 4 of 4

How to modify the macro to work regardless of the row number?

  1. #1
    Registered User
    Join Date
    03-12-2024
    Location
    Bulgaria
    MS-Off Ver
    Microsoft 365
    Posts
    5

    Question How to modify the macro to work regardless of the row number?

    Hey, everyone,

    This is my macro and as you can see it works for the first 782 rows. How can I modify it to work regardless of the row number?

    Please Login or Register  to view this content.
    Last edited by ivaylos89; 03-12-2024 at 12:06 PM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,966

    Re: How to modify the macro to work regardless of the row number?

    Try using:

    Please Login or Register  to view this content.
    instead of:

    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    03-12-2024
    Location
    Bulgaria
    MS-Off Ver
    Microsoft 365
    Posts
    5

    Re: How to modify the macro to work regardless of the row number?

    Hello,

    I had to redo the macro and I changed the line with yours but now it's glowing in red.

    Attachment 862587

    When I run the macro I get an error:

    Compile error:

    Syntax error

  4. #4
    Registered User
    Join Date
    03-12-2024
    Location
    Bulgaria
    MS-Off Ver
    Microsoft 365
    Posts
    5

    Re: How to modify the macro to work regardless of the row number?

    I managed to fix it.

    I'm not sure how the "=" appeared before "Table3"

    It's working now, thank you!

+ 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] Modify Order Number Column based on Zip Code Column
    By gshowman1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-20-2020, 01:23 PM
  2. [SOLVED] Need someone to edit Modify Macro's to work on entire work book
    By MarkKil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2018, 01:01 AM
  3. Modify Macro to work anywhere on wooksheet not just in specific cells
    By Daddy007 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2016, 08:10 PM
  4. [SOLVED] Modify This Macro To Generate More Than 1048576 Number Sets
    By ssjagger in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-07-2015, 04:16 PM
  5. Modify macro to work with larger data.
    By wonderd in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-05-2014, 04:51 AM
  6. [SOLVED] Help to modify Macro - delete rows that DO NOT contain a negative number.
    By chicalaeti in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-11-2013, 05:51 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