- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 10
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦Á¤î
- µù¥U®É¶¡
- 2015-2-25
- ³Ì«áµn¿ý
- 2015-3-12
|
Dear stillfish00¤j¤j
·Q½Ð±Ð¤@¤U¡A§Ú¥Î¥¨¶°¿ý¤FÓform¡A¥u¬O²³æªº¤W¦â¤Î¥[¤W¼Ð»y¡A©Ô®æ¤l¤j¤pµ¥
§Æ±æ¯à°÷·íexcel¨C¤@Óȱa¤J«á(´N¬O±z¼gªºµ{¦¡ªº²Ä56¦C«á±)¥[¤W³oÓ¥¨¶°§âexcelµe±¾ã²z¡C
¦ý¬O´ú¸Õ³£¥X²{1004¡C§Ú¨S¦³«Å§i¥ô¦óªF¦è¡A¥u¬O§â¨ºÓ¥¨¶°¥[¤W¥h¡C
«á¨Ó¦A³v¦æ°£¿ùªº®ÉÔ¡A¤@¨ì§Ú¥[ªº²Ä¤@¦æ´N¥d¦í¤F¡C
¦A·Ð½Ð±zÀ°À°¦£¡A·P®¦~
¤j·§¦p¤U±³o¼Ë- sName = Left(vFile, Len(vFile) - 4)
- For i = 0 To oMatch.Count - 1
- With Workbooks.Add
- With .Sheets(1)
- .[B3].Value = "SN"
- .[C3].Value = sSN
- .[B4].Value = "Model"
- .[C4].Value = sModel
-
- .[B6].Value = arHeader(0)
- .[C6].Value = oMatch(i).submatches(0)
- .[B7].Value = arHeader(1)
- .[C7].Value = oMatch(i).submatches(1)
-
- .[B9].Value = arHeader(2)
- .[C9].Value = oMatch(i).submatches(2)
- .[C10].Value = oMatch(i).submatches(3)
- .[B11].Value = arHeader(3)
- .[C11].Value = oMatch(i).submatches(4)
- End With
-
- Range("B2").Select
- ActiveCell.FormulaR1C1 = "¥Ò"
- Range("B3").Select
- ActiveCell.FormulaR1C1 = _
- "¤A" & Chr(10) & "¤þ"
- Range("B2:H2").Select
- With Selection
- .HorizontalAlignment = xlCenter
- .VerticalAlignment = xlBottom
- .WrapText = False
- .Orientation = 0
- .AddIndent = False
- .IndentLevel = 0
- .ShrinkToFit = False
- .ReadingOrder = xlContext
- .MergeCells = False
- End With
½Æ»s¥N½X |
|