View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ricksimm[_6_] ricksimm[_6_] is offline
external usenet poster
 
Posts: 1
Default file save problem


Code
-------------------
strSavePath = PCSServerEmailAttachmentsDir & "\Worksheet\" & _
myAttachment.Filename
On Error GoTo ServerErr1
myAttachment.SaveAsFile strSavePath

-------------------
I use this code to save email text file attachments. The only proble
is it always saves the text file as readonly. How can I tell it t
save without the readonly attribute? Thanks

--
ricksim
-----------------------------------------------------------------------
ricksimm's Profile: http://www.excelforum.com/member.php...fo&userid=2189
View this thread: http://www.excelforum.com/showthread.php?threadid=47157