ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

Refresh BackgroundQuery:=False error

Refresh BackgroundQuery:=False error

©³¤U³o¬q¤å¦rÀɬd¸ß,¦pªG¶}±ÒÀɮ׿ù»~ªº¸Ü,¤§«á´Nºâ¦A­«·s¶}±Ò¥¿½TÀÉ®×,µ{¦¡run¨ì .refresh BackgroundQuery:=False ³o¸Ì³£·|¥X²{error(°õ¦æ¶¥¬q¿ù»~1004),½Ð°Ý¸Ó¥Î¤°»ò¤èªk¥i¥Hreset±¼?ÁÂÁÂ~

        With ActiveSheet.QueryTables.Add(Connection:= _
        "TEXT;\\server\" & Sheet2.text1 , _
        Destination:=Range("$A$1"))
        .Name = "test"
        .FieldNames = True
        .RowNumbers = False
        .FillAdjacentFormulas = False
        .PreserveFormatting = True
        .RefreshOnFileOpen = False
        .RefreshStyle = xlInsertDeleteCells
        .SavePassword = False
        .SaveData = True
        .AdjustColumnWidth = True
        .RefreshPeriod = 0
        .TextFilePromptOnRefresh = False
        .TextFilePlatform = 950
        .TextFileStartRow = 1
        .TextFileParseType = xlDelimited
        .TextFileTextQualifier = xlTextQualifierDoubleQuote
        .TextFileConsecutiveDelimiter = True
        .TextFileTabDelimiter = False
        .TextFileSemicolonDelimiter = False
        .TextFileCommaDelimiter = False
        .TextFileSpaceDelimiter = True
        .TextFileColumnDataTypes = Array(1)
        .TextFileTrailingMinusNumbers = True
        .refresh BackgroundQuery:=False    End With

¦^´_ 1# herhsiu
ºô§}¦³°ÝÃD
Connection:=  "TEXT;\\server\" & Sheet2.text1
¦Û¤v´ú¸Õ¬Ý¬Ý

TOP

¦^´_ 2# GBKEE


    ©êºp§Ú¶K¿ù,¦ý³o­Ócase¬O¶}¹ïÀɮ׮ɳ£¨S°ÝÃD,¶}¿ùÀÉ®×¥X²{¿ù»~®É§Y¨Ï¦A­«·s¶}±Ò¥¿½TÀÉ®×ÁÙ¬O·|¥X²{error,¥²¶·§âÀÉ®×Ãö³¬¦A­«¶},¦³¨S¦³¿ìªkreset?

TOP

        ÀR«ä¦Û¦b : °µ¸Ó°µªº¨Æ¬O´¼¼z¡A°µ¤£¸Ó°µªº¨Æ¬O·Mè¡C
ªð¦^¦Cªí ¤W¤@¥DÃD