Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default 'Cannot insert object' message when I try to put a button on a worksheet

Dear Excel/ VBA programmers,
Every time I try to insert a command button from the 'InsertActive xCommand Button menu to an Excel Worksheet, I get a 'Cannot insert object' response. I was able to use Active X menu selections previously, but it seems my Excel won't let me do so anymore.

I need to have use of the Active X tools as I want to test a Visual Basic program - and not a macro, which I understand are the control form (upper) tools.

I did find a suggestion on the net which was to delete all temp files on my computer, but this did not make any difference, I still get that message.

I hope you can help out. Thank you for reading.
Yours
Simon Evans.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default 'Cannot insert object' message when I try to put a button on a worksheet

Dear Claus, thank you for your advice.
I have read up on the net of Microsoft's issuing of patches causing problems for users of their software, but the articles say nothing on how to remove these patches.

Could you tell me how to remove these patches - if you know.
Thank you
Simon.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,514
Default 'Cannot insert object' message when I try to put a button on a worksheet

Dear Excel/ VBA programmers,
Every time I try to insert a command button from the 'InsertActive
xCommand Button menu to an Excel Worksheet, I get a 'Cannot insert
object' response. I was able to use Active X menu selections
previously, but it seems my Excel won't let me do so anymore.

I need to have use of the Active X tools as I want to test a Visual
Basic program - and not a macro, which I understand are the control
form (upper) tools.

I did find a suggestion on the net which was to delete all temp files
on my computer, but this did not make any difference, I still get
that message.

I hope you can help out. Thank you for reading.
Yours
Simon Evans.


You can use either of the controls to access code in your 'program'
since the code in VBA projects *are* macros!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default 'Cannot insert object' message when I try to put a button on a worksheet

Hi Garry,
Do you mean I ought use the upper selection of tools, the control form ones, rather than the lower ones, the Active X ones (as offered by 'insert' menu) ?
Isn't this a bit like caving in to the powers that be ? (Microsoft, that is to say)
If I got another edition of Excel - would I still have the same problem ?
I have got Excel on my Laptop, which wasn't connected to the net the last couple of months - maybe I should use that, but I'd prefer working on my PC.
Yours
Simon



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,514
Default 'Cannot insert object' message when I try to put a button on a worksheet

Hi Garry,
Do you mean I ought use the upper selection of tools, the control
form ones, rather than the lower ones, the Active X ones (as offered
by 'insert' menu) ? Isn't this a bit like caving in to the powers
that be ? (Microsoft, that is to say) If I got another edition of
Excel - would I still have the same problem ? I have got Excel on my
Laptop, which wasn't connected to the net the last couple of months -
maybe I should use that, but I'd prefer working on my PC. Yours
Simon


I have several versions of Excel installed, from v8 to 2010. All
versions require drawing the rectangle for the control object on the
worksheet. Both types (Form/ActiveX) come from Micro$oft and so doesn't
qualify either for not 'caving in' to the powers that be.

FWIW:
Personally, I don't like using controls on a worksheet and so I tend to
have my 'programs' create their own menus, leaving the worksheets clear
for data only. If I do need an 'action execution' fired from a
worksheet cell then I make that cell look/feel like a button and use
Worksheet_SelectionChange events to redirect to the macro assigned to
that cell address.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default 'Cannot insert object' message when I try to put a button on a worksheet

Hi Claus,
I uninstalled about half the updates since the date of when the 'Active X' controls last stopped working - and it is working again.
Thanks
Simon

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
insert objects in .xlsx fails with message "cannot insert object" clacketwood Excel Discussion (Misc queries) 0 February 18th 10 12:16 PM
insert object worksheet protected Wanna Learn Excel Discussion (Misc queries) 2 January 21st 09 07:03 PM
cannot insert rows -error message "cannot shift object off sheet" robwan Excel Discussion (Misc queries) 1 November 10th 07 03:01 PM
How do I insert an object onto a protected worksheet? Arthur.awg Excel Discussion (Misc queries) 0 March 21st 06 01:36 PM
Insert object into worksheet ermeko Excel Programming 0 May 4th 05 05:01 PM


All times are GMT +1. The time now is 09:35 PM.

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

About Us

"It's about Microsoft Excel"