Put this line near the beginning of your macro:
Application.ScreenUpdating = False
and then after you have done all the copy/paste operations insert this
line near the end:
Application.ScreenUpdating = True
This will prevent the flicker as you switch between different sheets,
by not updating the screen display until you have finished. It will
also speed up your macro, though you might not notice this.
Hope this helps.
Pete
On Aug 16, 10:45*am, Mas <n...@company.com> wrote:
> Hi all,
>
> I have created a macro that copies and a number of columns and pastes
> them in a new workbook in a variety of columns but the macro look
> unprofessional as it flickers between copying column A and paste in
> column A of the new workbook, copy column C and paste in column B, etc.
>
> I would like to copy a range i.e. column A, C, D, F, G in the open
> workbook and paste in a new workbook in columns A, B, F, G, H. without
> all the flicker between workbooks etc.
>
> Appreciate any help I can get.
|