Posts by huvanile

    Re: Looping through Areas performance issue


    hi, have you considered turning off printer communication? my macros tended to run slower when my computer's default printer was set to anything but a "soft" printer (like a .pdf writer or xps writer), but since i started disabling printer communication my macros run quicker regardless of which printer was set to default. i think it has to do with Excel checking with the print driver each time certain code was being executed, but I'm not sure. Regardless, I'm now in the habit of disabling print communication at the start of each macro.


    to turn off:

    Code
    if Val(Application.Version) <= 14 Then Application.PrintCommunication = False


    to turn back on:

    Code
    if Val(Application.Version) <= 14 Then Application.PrintCommunication = True

    Re: Generate a list of unique values


    This worked for me: