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

[µo°Ý] ¦C¦L¦Û°Ê½s¬y¤ô¸¹°ÝÃD

[µo°Ý] ¦C¦L¦Û°Ê½s¬y¤ô¸¹°ÝÃD

¤£¦n·N«ä¡A§Ú¤S¦³°ÝÃD¤F
½Ð±Ð¤@¤U¦U¦ì¤j¤j
¦b¨Ï¥ÎExcel¦C¦L®É¡A¥i¥H¨Ì¦C¦Lªº¥÷¼Æ°µ¬y¤ô¸¹¶Ü¡H
¨Ò¦pExcel¥u¦³¤@­Ó­¶­±¡A§Ú¦b¦C¦L³]©w®É¦C¦L¢´¥÷
¡@¡@¥i¥H¥Î¤°»ò¤è¦¡¦b¢´¥÷¬Û¦P¸ê®Æ¤WÅã¥Ü1~5¶Ü?
¥H¤W¡AÁÂÁÂ
Simon

cells(2,3)´N¬OC2Äæ¦ì
¾Ç¨ì¤F,¤]¸Ñ¨M¤F§Úªº°ÝÃD
ÁÂÁÂjoviwang¤j¤j
Simon

TOP

cells(1,2)´N¬OB1
cells(2,3)§A²q¬O­þ¤@®æ¡H«¢¡AÀH°ó¦Ò¸Õ¡C

Âà¶K­Ó½d¨Ò¡G¨Ó¦Û©óVBAªº»¡©ú

¦¹½d¨Ò¦b Sheet1 ¤WªºÀx¦s®æ A1:J4 ¤¤¶i¦æ°j°é¡C¦pªG¨ä¤¤¦³¤@­ÓÀx¦s®æªº­È¤p©ó 0.001¡A¥»½d¨Ò´N±N¸Ó­È¨ú¥N¬° 0 (¹s)¡C


For rwIndex = 1 to 4
    For colIndex = 1 to 10
        With Worksheets("Sheet1").Cells(rwIndex, colIndex)
            If .Value < .001 Then .Value = 0
        End With
    Next colIndex
Next rwIndex

ps. cells(4,10)´N¬OJ4Àx¦s®æ¡C
joviwang

TOP

¦^´_ 10# joviwang


    ÁÂÁ , ¥i¥H¦A°Ý¤@¤U¶Ü?
    ¦pªG§Ú·Q§â³]©wªº­¶¼Æ¼g¦bB1Äæ¤Wªº¸Ü­n«ç»ò³]©w
Simon

TOP

§Ú¬O¤p¾Ç¥Í¡A·|ªºªF¦è¤£¦h¡A¥u¯à¤gªk·Ò¿û¡C
Sub Macro1()
    For i = 1 To 5   '­n¦L500¦¸´N³]1 to 500
     Cells(1, 1).NumberFormatLocal = "@"  '¥Î¿ý»s¾Ç¨Óªº¡A³]©wA1¬°¤å¦r®æ¦¡
     Cells(1, 1) = i & "/5"                             'A1¤º®e¬°i/5¡Ai¬O1®É¡A´NÅã¥Ü1/5¡Ai¬O2®É¡A´NÅã¥Ü2/5

         ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True  '¥Î¿ý»s¾Ç¨Óªº¡A³]©w¦C¦L°Ê§@      
    Next i
  End Sub
joviwang

TOP

joviwang¤j¤j
¤£¦n·N«ä,¦]¬°§Ú¹ïVBA¤£À´
¥i¥H°µ¸Ô²Ó»¡©ú¤@¤U¶Ü?
¥xªÌ¬OGIF³Ì¦n¤F.....
ÁÂÁÂ
Simon

TOP

Sub Macro1()
    For i = 1 To 5
     Cells(1, 1).NumberFormatLocal = "@"
     Cells(1, 1) = i & "/5"
         ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
        Next i
  End Sub
joviwang

TOP

¦^´_ 6# simon.chenpro


    ^ ^...¤£¦n·N«ä...
¨ä¹ê¦pªG¥÷¼Æ¥u¦³5¥÷...¨º±z´N¤â¤u¤@¤U...A1Àx¦s®æ1/5~5/5Åo...µM«á³]©w¦C¦L½d³ò
­Y¬O500¥÷´N....¥[ªoÅo....  ^ ^..
±zªº°ÝÃD«Ü²M·¡¤F..À³¸Ó·|¦³¼ö¤ßªº¥ý¶i¤Îª©¥DÀ°±zªº......
¾Ç¦p°f¤ô¦æ¦à ¤£¶i«h°h

TOP

¤£¦n·N«ä¡AÁÙ¬O¤£¹ï
§Aªº¤è¦¡¬O¦C¦L5­¶ªº®ÄªG
§Ú«üªº¬O¦C¦L¢´¥÷ªº®ÄªG
Simon

TOP

¦^´_ 4# simon.chenpro


    ª½±µ³]©w­¶­º/­¶§À??

2.gif


¾Ç¦p°f¤ô¦æ¦à ¤£¶i«h°h

TOP

        ÀR«ä¦Û¦b : ­n¤ñ½Ö§ó¨ü½Ö¡D¤£­n¤ñ½Ö§ó©È½Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD