- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
¦U¦ì«e½ú§A̦n!
¡@¡@ «e½ú!°ÝÃD¦pªþÀÉ®×»¡©ú
Sub µù¸Ñ()
If Not ActiveCe ...
myleoyes µoªí©ó 2010-7-22 08:12
°ÝÃD¤@:
§Aªº·N«ä¬O¦pªG¶µ¥Ø¦³ªF¦è, ´NÅã¥Üì¨Óªº¹ï§a?
º¥ý¦bWorksheet_SelectionChange¸Ñ°£¤@¤U- If Target(1) = "" Then ¶µ¥Ø
- end if
½Æ»s¥N½X ª½±µ¹BµM«á§â¶µ¥Ø§ï¦¨¥H¤Uªº- Sub ¶µ¥Ø()
- Dim Z As string
- If ActiveCell <> "" Then
- z = ActiveCell
- Else
- z = "¦¦w¡I"
- End If
- Z = ActiveCell.value
- Z = Application.InputBox("½Ð¿é¤J¶µ¥Ø¦WºÙ", , z, Type:=2)
- ActiveCell.value = z
- ActiveCell.Offset(, 1).Select
- End Sub
½Æ»s¥N½X °ÝÃD¤G: (¤p§Ì¤È¶º®É¶¡§Ö¹L , ¼È´£¨Ñ¥N½X, ¦³»Ýnªº¸Ü¤µ±ß¦A¸ÑÄÀ¸ÑÄÀ)- Sub µù¸Ñ()
- If Not ActiveCell.Comment Is Nothing Then
- ZZ = InputBox("½Ð¿é¤Jªþµù", , ActiveCell.Comment.Text)
- Else
- ZZ = InputBox("½Ð¿é¤Jªþµù", , "")
- ActiveCell.AddComment
- End If
- ActiveCell.Comment.Text Text:=ZZ
- End Sub
½Æ»s¥N½X |
|