¥»©«³Ì«á¥Ñ mdr0465 ©ó 2021-2-14 17:32 ½s¿è
¦U¦ì¤j¤j§A¦n
§Ú¦bºô¤W¤U¸ü¤F¤@Óµ{¦¡¥i¥H¥Î¾¤¦X¨Ö´XÓ¤£¦Pªºexcel,csv,txt ªºÀÉ®×, ¦X«÷¥t¦s¦b¤@Ó·sªº¬¡¶Á¡, §Ú¥u¯à¥Î¦³ªº¯à¤O»´·Lקï¤F,
¨Ã©ñ¦b¦Û³]ªºUserform, ¦ýקï«á¥H¤Uªºµ{¦¡¤£¯à¨ú¦btextbox1ªºÈ
If UCase(Windows(WorkName).ActiveSheet.Range("B1")) = "N" Then ' ±N³oÓrange("B1") §ï¬°¨útextbox1ªºÈ
Workbooks.OpenText Filename:=Fullpath, Origin:=Windows(WorkName).ActiveSheet.Range("b3"), _ ' ±N³oÓrange("B3") §ï¬°¨útextbox3ªºÈ
StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=False, Comma:=False _
, Space:=False, Other:=False, FieldInfo:=Array(1, 1), _
TrailingMinusNumbers:=True
Else
Workbooks.OpenText Filename:=Fullpath, Origin:=Windows(WorkName).ActiveSheet.Range("b3"), _ ' ±N³oÓrange("B3") §ï¬°¨útextbox3ªºÈ
DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=True, Tab:=True, Semicolon:=False, Comma:=False, _
Space:=True, OtherChar:=Windows(WorkName).ActiveSheet.Range("b2"), Other:=True '±N³oÓrange("B2") §ï¬°¨útextbox2ªºÈ
End If
¸U¤À·P¿EÀ°¦£×§ï,ÁÂÁÂ
ÁÂÁÂ |