XLtoCSV secundario privado ()
Fijar el shtData = ActiveSheet
Fijar el más wbkDest = Workbooks.Add
shtData.Range (“$A$48”) .CurrentRegion.Copy
Application.ScreenUpdating = falso
Goma de 'ActiveSheet.Range (“a1”) .PasteSpecial: =xlPasteValuesAndNumberFormats
wbkDest.Sheet1.Select
goma de wbkDest.Sheet1.Range (“A1”) .PasteSpecial: =xlPasteValuesAndNumberFormats, operación: = _
xlNone, SkipBlanks: El =False, transporta: =False
Application.DisplayAlerts = falso
nombre de fichero de wbkDest.SaveAs: = " C:\nv\MPGAllocation.csv ", FileFormat: =xlCSV
wbkDest.Close verdad
Application.DisplayAlerts = verdad
Application.ScreenUpdating = verdad
Submarino del extremo
|