- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 4# t8899 - RefreshOnFileOpen ÄÝ©Ê ¦pªG¨C¦¸¶}±Ò¬¡¶Ã¯®É¡A¼Ï¯Ã¤ÀªRªí§Ö¨ú°O¾ÐÅé©Î¬d¸ßªí·|¦Û°Ê§ó·s«h¬° True¡C¹w³]Ȭ° False¡CŪ/¼g Boolean¡C
½Æ»s¥N½X QueryTables ¦p³]©w.RefreshOnFileOpen = True- Private Sub Workbook_Open()
- Application.AskToUpdateLinks = False
- ThisWorkbook.UpdateLinks = xlUpdateLinksNever
- µ{§Ç¤W,³o¨Çªº³]©w¬OµL®Ä
½Æ»s¥N½X §A·Qnªº¬O³o¼Ë¶Ü- Private Sub Workbook_Open()
- If LCase(Me.Name) = "book1.xls" Then
- If MsgBox("¶}±Ò¥~³¡§ó·s?", vbYesNo) = vbYes Then
- Sheet5.QueryTables(1).Refresh BackgroundQuery:=False
- End If
- ElseIf LCase(Me.Name) <> "book1.xls" Then
- Sheet5.QueryTables(1).Refresh BackgroundQuery:=False
- End If
- End Sub
½Æ»s¥N½X |
|