ªð¦^¦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»X½ªªº¦Û¥Ñ¡j¤H±`¦b¤°»ò³£¥i¥H¦Û¥Ñ¦Û¦bªº®É­Ô¡A«o³Q³oºØÀH¤ß©Ò±ýªº¦Û¥Ñ»X½ª¡AµêÂY®É¥ú¦Ó²@µLıª¾¡C
ªð¦^¦Cªí ¤W¤@¥DÃD