Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Why does the error pop up- can't enter command mode?
I have this code:
Sub test() Range("A3").Select ActiveSheet.OLEObjects.Add(ClassType:="Forms.TextB ox.1", Link:=False, _ DisplayAsIcon:=False, Left:=100.8, Top:=119.930434782609, Width:= _ 204.104347826087, Height:=104.55652173913).Select End Sub It inserts a textbox onto a worksheet. when I step thru the code, I get to the Add command, and get the error "Can't enter break mode at this time.". However when i run the code F5- it works OK?? XL2002 SP2 -- | +--Thief_ | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can't enter break mode at this time ERROR | Excel Discussion (Misc queries) | |||
command buttons in design mode | Excel Discussion (Misc queries) | |||
Pivot Table Error Message - "Command Text not set for command obje | Excel Discussion (Misc queries) | |||
Can't enter break mode at this time | Excel Discussion (Misc queries) | |||
Enter Excel Design Mode and Exit Design Mode | Excel Programming |