+ Reply to Thread
Results 1 to 15 of 15

How to Optimize This Code?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365
    Posts
    263

    Re: How to Optimize This Code?

    Good morning AlphaFrog, thank you for the reply

    I saw your message yesterday and left the code running through the night. I can't really tell if it made it somehow faster, as it was still running in the morning when I woke up, but I found out something interesting. When I press ESC and end the code, the data seems to have been replaced properly, although the code was running as far as I could check everything was actually replaced, maybe something makes the code keep running for some reason.

    I will upload a small sample as suggested by our friend above, that way you can see how the data is structured. All columns are located in the correct position according to the original file, but as the code works by selection, I only pasted the columns that are affected.


    PS: Sheet3 has the column that's gonna be replaced, based on the 2 columns in the other sheet. I also didn't mention that the column with the data to be replaced has a text "Código" as a header, which is used later on for another code, and also the dates, both data that can't be deleted, but maybe could be causing the problem
    Last edited by therealdees; 03-19-2021 at 08:34 AM.
    Pedro.

+ 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. Optimize Code
    By floppygoat in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2020, 04:52 AM
  2. optimize code if possible
    By mohadin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2019, 06:18 AM
  3. How can I optimize my code
    By viettest in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-08-2019, 05:02 PM
  4. Optimize a code
    By pezalmendra in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2015, 05:31 PM
  5. Optimize code
    By DarkKnightLupo in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-19-2014, 08:58 AM
  6. Optimize code
    By miso.dca in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-08-2011, 03:35 PM
  7. Optimize VBA code
    By doodlebug in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2007, 07:53 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