Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't enter break mode at this time ERROR Ayo Excel Discussion (Misc queries) 4 July 21st 08 05:09 PM
command buttons in design mode Leeo Excel Discussion (Misc queries) 5 June 10th 08 12:33 PM
Pivot Table Error Message - "Command Text not set for command obje Jeff Divian Excel Discussion (Misc queries) 0 November 7th 07 10:26 PM
Can't enter break mode at this time CWillis Excel Discussion (Misc queries) 2 June 1st 06 07:43 PM
Enter Excel Design Mode and Exit Design Mode Bill Lunney Excel Programming 0 August 4th 03 07:48 AM


All times are GMT +1. The time now is 03:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"