View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Slow1911s[_3_] Slow1911s[_3_] is offline
external usenet poster
 
Posts: 1
Default re-name workbook?


Can xlReadWrite also be used? I use a password.

Chip Pearson Wrote:
Try the following:

With ThisWorkbook
.Save
.ChangeFileAccess xlReadOnly
Kill .FullName
.SaveAs Filename:="H:\book2.xls"
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




--
Slow1911s
------------------------------------------------------------------------
Slow1911s's Profile: http://www.excelforum.com/member.php...o&userid=31113
View this thread: http://www.excelforum.com/showthread...hreadid=507768