Use of Application.CutCopyPaste=False
Use the below line right after copying & pasting data using VBA. Below line clears the copied data from the clipboard.
Application.CutCopyPaste=False
Without that line you will get the warning 'There is a large amount of information on the Clipboard....' when you close the workbook with a large amount of data on the clipboard.
Comments
Post a Comment