View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
Ayato[_7_] Ayato[_7_] is offline
external usenet poster
 
Posts: 1
Default how to hide .CSV file extension ?

Bob Flanagan wrote:
*The following should help. Please note that the file needs to b
closed

Dim oldName As String
Dim newName As String
oldName = "c:\temp\book2.csv"
newName = "c:\temp\book2.100"
Name oldFile As newFile

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Ayato " wrote in message
...
Hello @ll,

I have a macro that saves ".xls" as ".csv" but how can I hide the
".csv" extension (and use for example an extension ".100", and not
".100.csv")

regards,
Ayato


---
Message posted from http://www.ExcelForum.com/
*



Mmmm does not work as I have a variable in the name..

--
Message posted from http://www.ExcelForum.com