¦p¦ó¥ÎVBA¦C¦L¯S©wÀɦWªºExcelÀÉ®×?
- ©«¤l
- 9
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- windows xp
- ³nÅ骩¥»
- sp3
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2012-3-14
- ³Ì«áµn¿ý
- 2012-5-14
|
¦p¦ó¥ÎVBA¦C¦L¯S©wÀɦWªºExcelÀÉ®×?
¦U¦ì¤j¤j,½Ð°Ý¦p¦ó¦C¦L»P ComboBox ¿ï¨úªº¿ï¶µ¤@¼ËªºExcelÀÉ®×?
¨Ò¦p
¦pªG¦bComboBox¤¤¿ï¨úªº¬O"ABC"
¨º§Ú·Qn°µ¤@ÓCommandButton,«ö¤U«á¥i¥H§â"ABC.xls"Àɮת½±µ¦C¦L¥X¨Ó,¤£»Ýn¶}±ÒABC.xls
PS: ComboBox¬O°µ¦b¦Ûqªí³æ¤¤
ÁÂÁÂ |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- windows xp
- ³nÅ骩¥»
- sp3
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2012-3-14
- ³Ì«áµn¿ý
- 2012-5-14
|
|
|
|
|
|
|
¡@¼ÊºÙ: ÀH·ÄÆ¿ºªº¦Ð¤ò ¡@ÀY»Î: [±s¥Î]¼ç¤ô¸¥
°ª¤¤¥Í
- ©«¤l
- 852
- ¥DÃD
- 79
- ºëµØ
- 0
- ¿n¤À
- 918
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7 , XP
- ³nÅ骩¥»
- Office 2007, Office 2003,Office 2010,YoZo Office
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦t©z
- µù¥U®É¶¡
- 2011-4-8
- ³Ì«áµn¿ý
- 2024-2-21
|
¥»©«³Ì«á¥Ñ mark15jill ©ó 2012-3-15 14:22 ½s¿è
¦^´_ 3# hbjang
¦A½Ð±Ð EXCEL ÀɮצWºÙ ¦³³W«ß? ©ÎªÌ¬O ¦³§¹¾ãªºÀɮצWºÙ??
¦pªG ¦³EXCELÀÉ®× ¤º¦s©ñ n¦C¦LÀɮתº¦WºÙ
¦p ÀɮצWºÙ.xls «h¥i¥Î¥H¤Uµ{¦¡ ª½±µ¦C¦L
Sub Macro1()
For ux = 1 To 65535
If Range("a" & ux).Value <> "" Then
ee = Range("a" & ux).Value
ChDir "D:\n¦C¦L¸ê®Æ" 'Àɮצs©ñªº¸ê®Æ§¨
Workbooks.Open Filename:="D:\n¦C¦L¸ê®Æ\" & ux & ".xlsx"
Application.ActivePrinter = "Microsoft Office Document Image Writer on Ne05:" ' ³oÃ䬰 ³]©w¦Lªí¾÷(Microsoft Office Document Image Writer on Ne05:)
ExecuteExcel4Macro _
"PRINT(1,,,1,,,,,,,,2,""Microsoft Office Document Image Writer on Ne05:"",,TRUE,,FALSE)" ' ³oÃ䬰 ³]©w¦Lªí¾÷(Microsoft Office Document Image Writer on Ne05:)
ActiveWindow.Close
End If
Next ux
End Sub |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- windows xp
- ³nÅ骩¥»
- sp3
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2012-3-14
- ³Ì«áµn¿ý
- 2012-5-14
|
¤£¦n·N«ä,°ÝÃD¨S³¯z²M·¡
1.¦s©ñÀɮתº¸ô®|¬O©T©wªº
2.¨CÓExcelÀɮ׳£¥u¦³¤@Ósheet
ÁÂÁÂ |
|
|
|
|
|
|
- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¦^´_ 1# hbjang
¼Ó¥DÀ³¸Ón±N±¡ªp´y¼gªº§ó²M·¡¤@¨Ç:
¦³¤@¨Ç±ø¥ón»¡©ú²M·¡
1. Combobox ¬D¿ï«á,¶i¦æ¦C¦L, ¨º¸ô®|¬O§_¤w¸g©T©w¦ºªº,ÁÙ¬On¦A¬D¿ïÁ|¸ô®|~
2. Àɮפ¤ªºsheet¬O§_¶È¥u¦³1Ósheet©Î¬On¥þ³¡sheet³£n¦C¦L
¤@¨Ç±znªºªF¦è~ n»¡©ú²M·¡ò~
³o¼Ëª©¤j©Î¦U¤j¤j̤~¯àÀ°±z«È»s¤Æ³B²z±znªº~
¤~¯à§Ö³tªº±N§Aªº°ÝÃD³B²zò~ |
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|