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

[µo°Ý] ¦p¦ó²£¥Í¤£¦P¦WºÙworksheet

¦^´_ 10# Helain

¨ä¹ê³oÃä¤]¤£¥²¥Î¨ìWith³¯­z¦¡
ª½±µ¨Ï¥ÎActiveSheet .Name = "Im=" & i§Y¥i
³q±`¦b¦P¤@ª«¥óªº±Ô­z®É¡A¬°´î¤Öª«¥óªº¨Ï¥Î
¤~»Ý­n±N¸Óª«¥ó­n±Ô­zªºÄݩʧQ¥ÎWith ...End With³¯­z¦¡
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

§Ú·Q­n¦A°Ý, ¦pªG¦³2­ÓÅܼơA­n¦p¦ó©R¦W
Sub Remain_M()
    For i = 0 To 5
          for j = 0 to 5
              Worksheets.Add
              With ActiveSheet
             .Name = (i,j)
             End With
    Demand_M_2nd i
    Demand_R_2ndj
  Next
Next
End Sub

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2011-10-23 16:16 ½s¿è

¦^´_ 12# Helain


    «ç»ò©R¦W?°Ý§A¦Û¤v°Ú!
¤u§@ªí¦WºÙ´N¬O¤@­Ó¦r¦ê
¨â­ÓÅܼƧA­n«ç¼Ë§e²{?
¬Oi & j¶Ü?
¥ÎF8³v¦æ¥\¯à¬ÝÅܼƪºÅܤơA¨Ó°Ñ¦Ò§A·Q¦p¦ó±o¨ì¦r¦ê
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

®¦~ §Úª¾¹D¦p¦ó§e²{i&J, ¦b¤u§@ªí¦WºÙ
¤£¹L§Ú·Q­nª¾¹D­Y§Ú·Q§e²{"Im=i, Ir=j" ³o¼Ë¦r¦ê»PÅܼƪºµ²¦X¡A§Ú¸Õ¤£¥X¨Ó¡C

TOP

¦^´_ 14# Helain
¬O³o¼Ëªº·N«ä¶Ü?

    "Im=" & i & "," &  "Ir=" & j"
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥i¥H¤F! ÁÂÁÂ

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2011-11-15 17:03 ½s¿è

Sub CODE_ST1()
'¿Ã¹õ§ó·sÃö³¬¡A´£¥ÜÃö³¬
Application.DisplayAlerts = False
Application.ScreenUpdating = True
   
'¬¡­¶Ã¯·s¼W
For AAA = 1 To 6 '1 TO 6 ¬O ³Ð³y6­Ó SHEET
    QQ = Sheet1.Range("A" & AAA).Value
'QQªº­È¬° SHEET1ªºAÄæ¦ìªº­È , ¦pªG¬O­n¦h¦r¦ê¦X¨Ö(¦p aÄæ¦ì©MbÄæ¦ì¦X¨Ö) «h ³o¦ê§ó§ï¬° QQ = SHEET1.RANGE("A"&AAA ).VALUE & SHEET1.RANGE("B"&AAA).VALUE  
Sheets.Add After:=Sheets(Sheets.Count)
    Sheets("Sheet" & QQ + 1).Select   'QQ+1¬OÁקK ¤@¶}©lªºSHEET1
    Sheets("Sheet" & QQ + 1).Name = QQ
Next AAA
End Sub

TOP

        ÀR«ä¦Û¦b : ¤@¥y·Å·xªº¸Ü¡A´N¹³©¹§O¤H¨­¤WÅx­»¤ô¡A¦Û¤v·|ªg¨ì¨â¤Tºw¡C
ªð¦^¦Cªí ¤W¤@¥DÃD