- ©«¤l
- 122
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 148
- ÂI¦W
- 0
- §@·~¨t²Î
- windos10
- ³nÅ骩¥»
- office2016
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2021-7-8
- ³Ì«áµn¿ý
- 2023-8-28
|
¥»©«³Ì«á¥Ñ cowww ©ó 2023-5-22 12:00 ½s¿è
½Ð±Ð½×¾Âªº¤j¤jÌ
§Ú·Q§â¥t¦s·sÀɧ令¥ý§PÂ_Àɮ׬O§_¦³³Q¶}±Ò
¦pªG¦³¡A´N¥t¦s½Æ¥»
¦pªG¨S¦³¡A´Nª½±µÀx¦s
ì¥ýªº»yªk
ThisWorkbook.SaveAs fileName:= _
"\\group.com\dept\³Æ¥÷\123\«æ¥ó±M®×ª¬ºA°lÂÜ_v2_0.xlsm", WriteResPassword:="6112"
¥H¤U¬Oק諸»yªk¡A½Ð°Ýþ¸Ì¦³¿ù»~
Dim fileName As String
fileName = "\\shl-group.com\dept\«æ¥ó±M®×ª¬ºA°lÂÜ_v2_0.xlsm"
If IsFileOpen(fileName) Then
Dim copyName As String
copyName = Left(fileName, Len(fileName) - 5) & "_Copy.xlsm"
ThisWorkbook.SaveCopyAs fileName:=copyName, WriteResPassword:="6112"
Else
ThisWorkbook.SaveAs fileName, WriteResPassword:="6112"
End If
|
|