Àx¦s®æªº³]©w«ç»ò·|¶]±¼©O?
- ©«¤l
- 199
- ¥DÃD
- 45
- ºëµØ
- 0
- ¿n¤À
- 252
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7 (X64)
- ³nÅ骩¥»
- office 2010 (x64)
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2010-12-24
- ³Ì«áµn¿ý
- 2020-3-31
|
Àx¦s®æªº³]©w«ç»ò·|¶]±¼©O?
With ActiveSheet.QueryTables.Add(Connection:=input_file, Destination:=Range("$A$1"))
.RefreshStyle = xlInsertDeleteCells
.AdjustColumnWidth = True
.TextFilePlatform = 65001
.TextFileStartRow = 1
.TextFileParseType = xlFixedWidth
.TextFileColumnDataTypes = Array(2, 2, 2, 2)
.TextFileFixedColumnWidths = Array(3, 3, 3)
.Refresh BackgroundQuery:=False
End With
¤£ºÞ¸ê®Æ¦³¦h¤j,¥H¤Wªºµ{¦¡§â¸ê®ÆŪ¶i¨Ó«á,[A][B][C]Äæ¦ìªºType À³¸Ó´N¬O¤å¦r«¬ºA,¦pªG¶]ªº¹Lµ{³£¤£¥h§ó°Ê¥¦,¬O¤£¬O¤@ª½³£·|¬O"¤å¦r"«¬ºA,¬P´Á¤Ñ¤U¤È¾ãÓ¤U¤È³£¦b§ì³o¼Ëªº¿ù,¦p¤U:
Dim rs AS string
Dim mystr AS string
rs = "F41"
mystr = "% 08"
Range(rs).Value = mystr
¨ì¬¡¶Ã¯¥h¬Ý®É,F41 ¶]¥X¨ÓªºÈ·|Åܦ¨ 8%,¦U¦ì¦³¨Ã¹L³o¼Ëªº°ÝÃD¶Ü?
«á¨Ó¥Î¦p¤Uªº¤è¦¡¸Ñ¨M¤F°ÝÃD:
rs = "F41"
mystr = "% 08"
Range(rs).NumberFormatLocal = "@"
Range(rs).Value = mystr
½Ð°Ý¦U¦ì¦³¤H¦³¨Ã¹L³o¼Ëªº°ÝÃD¶Ü?¦³§ó¦nªº¸Ñ¨M¤èªk¶Ü? |
|
V98
|
|
|
|
|
- ©«¤l
- 199
- ¥DÃD
- 45
- ºëµØ
- 0
- ¿n¤À
- 252
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7 (X64)
- ³nÅ骩¥»
- office 2010 (x64)
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2010-12-24
- ³Ì«áµn¿ý
- 2020-3-31
|
|
V98
|
|
|
|
|