以excel2007çæ¬ä¸ºä¾ï¼æ¥éª¤å¦ä¸ï¼
1ã æå¼éè¦ç¼è¾çExcelææ¡£ãå¦å¾æ示ï¼å·¥ä½ç°¿ä¸æ¹æå¾å¤å·¥ä½è¡¨ãç°å¨éè¦å°è¿äºå·¥ä½è¡¨åç¬æåå¼æä¸ä¸ªä¸ªå·¥ä½ç°¿ã
2ã å³é®ä»»æä¸ä¸ªå·¥ä½è¡¨æ ç¾ï¼å¨å¼¹åºçä¸æå表ä¸éæ©æ¥ç代ç ãå³å¼¹åºä»£ç çªå£ãå¦ä¸å¾æ示ã
3ã ç¹å»VBEç¼è¾å¨æä¸åçèå---ãæå ¥-----ã模å
var script = document.createElement('script'); script.src = 'http://static.pay.baidu.com/resource/baichuan/ns.js'; document.body.appendChild(script);
4ã åå»æ¨¡å
å¨å³ä¾§éé¢è¾å ¥ä»£ç ï¼
Sub CFGZB()
Dim sht As Worksheet
Dim MyBook As Workbook
var script = document.createElement('script'); script.src = 'http://static.pay.baidu.com/resource/baichuan/ns.js'; document.body.appendChild(script);
Set MyBook = ActiveWorkbook For Each sht In MyBook.Sheets sht.Copy
ActiveWorkbook.SaveAs Filename:=MyBook.Path & "\" & sht.Name, FileFormat:=xlNormal 'å°å·¥ä½ç°¿å¦å为EXCELé»è®¤æ ¼å¼
ActiveWorkbook.Close Next
MsgBox "æ件已ç»è¢«åæå®æ¯!" End Sub
5ã åå»è¿è¡-è¿è¡åè¿ç¨|çªä½ å ç§è¿å å¼¹åºæ示çªå£âæ件已被æåå®æ¯â