- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 257
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-27
|
¥»©«³Ì«á¥Ñ Hsieh ©ó 2010-6-7 18:13 ½s¿è
§Úªº¬Ýªk¼Ó¥D¦ü¥G¬O·QÅý¤u§@ªí¥t¦s¦¨XLSÀÉ®×
·s¼W¤@¦Ûqªí³æ,ªí³æ¤¤³]¸m¤@Ó²M³æ¤è¶ô¤Î¤@Ó«ö¶s
ªí³æ¼Ò²Õµ{¦¡- Private Sub CommandButton1_Click()
- Dim MyDate As String
- MyDate = ListBox1.Text
- ActiveSheet.Copy
- ActiveWorkbook.SaveAs "D:\" & ActiveSheet.[B2] & MyDate & ".xls"
- End Sub
- Private Sub UserForm_Initialize()
- With ActiveSheet
- For Each a In .Range(.[B3], .[B65536].End(xlUp))
- ListBox1.AddItem a.Text
- Next
- End With
- End Sub
½Æ»s¥N½X ¤@¯ë¼Ò²Õµ{¦¡½X- Sub OpenForm() '§Ö³tÁäCtrl+m
- UserForm1.Show
- End Sub
½Æ»s¥N½X ¦pªþ¥ó
001.rar (12.96 KB)
|
|