Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi! I have this code and it works but it should be nice if the macro2 could run with an onmouseover event. Is this possible? If it is, is it also possible to get the old text with somthing like onmouse out? Sub Macro3() ActiveSheet.Shapes.AddTextbox(msoTextOrientationHo rizontal, 346.5, 105#, _ 100.5, 63#).Select Selection.Characters.Text = "Text" Selection.Name = "MyTextBox" Selection.OnAction = "Macro2" 'insert new text End Sub Sub Macro2() ActiveSheet.Shapes("MyTextBox").Select Selection.Characters.Text = "New Text" Range("F20").Select End Sub Thanks in advance *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
apply cell change event to single column - WorksheetChange Event | Excel Programming | |||
Click event on menu item is lost after first time firing of the event | Excel Programming | |||
onMouseOver Highlight Rows | Excel Programming | |||
How to trap delete row event and hide column event? | Excel Programming | |||
user form-on open event? keydown event? | Excel Programming |