ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   file save problem (https://www.excelbanter.com/excel-programming/341391-file-save-problem.html)

ricksimm[_6_]

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



All times are GMT +1. The time now is 01:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com