Private Sub Workbook_Open()
B = Split(Names("½T»{Äæ").Value, "!") '¨ú±o"½T»{Äæ"¦WºÙªº¦a§}
Range(B(1)).ClearContents '²MªÅ½T»{Ä椺ªºÈ
End Sub
Private Sub CommandButton1_Click()
Dim r&
With Sheets([H1].Value) '¨ú±o[H1]Àx¦s®æªºÈ¡A¨Ã§ä¨ì¦¹¦WºÙªº¤u§@ªí
For r = 2 To Cells(Rows.Count, 2).End(xlUp).Row '¸ê®Æ½d³ò
If Cells(r, 1) = "**" Then Exit Sub 'Â÷¶}µ{§Ç¡A°±¤î¦C¦L
If Cells(r, 1) = "V" Then '¦³"V"¤~¦C¦L
.[H2] = Cells(r, 2)
.[F6] = Cells(r, 3)
.[E11] = Cells(r, 4)
.[H3] = Cells(r, 5)
.[B4] = Cells(r, 6)
.[B6] = Cells(r, 7)
'.PrintPreview '¹wÄý
.PrintOut '¦C¦L
End If
Next r
End With
End Sub