Problem With A Pesky Question during a Macro
After the copy, activate the "other" workbook and do the paste. Then close
"table.csv"
--
Gary''s Student - gsnu200855
"Paul" wrote:
When running the below macro I get a dialog box asking if I want to keep &
use the data on the clipboard, which of course I do since I am pasting it
just a few lines down.
How can I keep this from happening?
Sub CopyTable
Windows("table.csv").Activate
Range("A1:G486").Select
Selection.Copy
ActiveWorkbook.Close
Range("W6").Select
ActiveSheet.Paste
End Sub
|