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

½Ð°Ý¦³¤°»ò¿ù,¿ù¦b­þ¸Ì

½Ð°Ý¦³¤°»ò¿ù,¿ù¦b­þ¸Ì

sub namerecord()
Dim friendname As String
Dim i As Integer
i = 2
For i = 2 To 50

Worksheets("sample").Copy after:=Worksheets(Worksheets.Count)
Worksheets(Worksheets.Count).name = friendname
If Worksheets("Main").Cells(2, 2).Value = "friendname" Then Worksheets(Worksheets.Count).Cells(2, 2).Value
i = i + 1
End If

End Sub

¦³  for  «oµL next for
¥t¥~ ±z©Òµoªº³o­Ó §Ú­è¦³´ú¸Õ¤F¤@¤U
¦ý¬O °£¤F¬¡­¶¼Æ¶q¦³¼W¥[¥H¥~
¦ü¥G¬Ý¤£¥X¦³¨ä¥L¥\¯à...
·|Åܦ¨
sample(1)
sample(2)
sample(3)
sample(4)
³o¼Ë...
¤£¦n·N«ä ¤p§Ì¥\¤O¤£°÷ ¶È´ú¸Õ¥X³o­Ó

TOP

¦^´_ 1# john2006168
¥t¥~ÁÙ¦³
If Worksheets("Main").Cells(2, 2).Value = "friendname" Then Worksheets(Worksheets.Count).Cells(2, 2).Value= "???"

TOP

¦^´_ 3# GBKEE


    If Worksheets("Main").Cells(i, 2).Value = friendname Then Worksheets(Worksheets.Count).Cells(i, 2).Value=friendname

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD