- ©«¤l
- 7
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-10-27
- ³Ì«áµn¿ý
- 2013-12-6
|
°²³]¦b§Úªºworkbook©³¤U§Ú¥u¦³sheet(1), sheet(2), sheet(3)³o¤TÓsheets
Run¤U±³oÓcode®É¡A§ÚÅý¥¦µ¥©ósheet(4)µM«á¸õ¥X¤U±³oÓMsgBox
¦ý¬O¡A§Ú¶]¨ìSet A = Sheets(4)®É·|¸õ¥X "°õ¦æ¶¥¬q¿ù»~9 °}¦C¯Á¤Þ¶W¥X½d³ò"
µM«á´N¤¤Â_¤F¡A¤]¤£·|¦L¥XMsgBoxªº¤º®e
½Ð°Ý°£¤FOn Error Resume NextÁÙ¦³¤°»ò¤èªk¥i¥H¸Ñ¨M©O
ÁÂÁÂ!!
'On Error Resume Next
Dim A As Worksheet
Set A = Sheets(4)
If A Is Nothing Then
res = MsgBox("§ä¤£¨ì¸Ósheet" & vbCrLf & "°Ê§@¤¤¤î", vbOKOnly + vbCritical)
Exit Sub
End If |
|