Hi Guys.
I need help with some code in vba.
I have a worksheet called Upload DTB, with data in rows 5 to 2174 across columns B to F.
I need to put a CommandButton on the sheet and, when clicked, it should create a .csv file of the data in the aforementioned cells. Also; if the file already exists on the desktop, a means of overwriting it.
I know that I can export the sheet as an xlCSV file; but that doesn't specify the delimiter, so what I need is a way to create a non-xlcsv file (just a simple csv file) on my desktop with a 'pipe' delimiter, of the information contained in the range B5 to F2174.
Any help would be greatly appreciated.
Bookmarks