Hey,
I am trying to make some VBA that saves one row of data from a spreadsheet and saves it as a PRN file which I can do but it adds quotation marks to the start and end of every row, how do I go about removing them without having to do it manually?
Here is my code;
I am trying to make some VBA that saves one row of data from a spreadsheet and saves it as a PRN file which I can do but it adds quotation marks to the start and end of every row, how do I go about removing them without having to do it manually?
Here is my code;
Code:
Sheets("Olink").Select
Columns("P:P").Select
Range("P188").Activate
Selection.Copy
Sheets.Add after:=ActiveSheet
Worksheets.Add().Name = "DD"
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
myFolder = Application.GetSaveAsFilename(fileFilter:="PRN (*.prn), *.prn")
ActiveWorkbook.SaveAs Filename:=myFolder, FileFormat:=xlCSV, CreateBackup:=False
End Sub