View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
funkymonkUK[_199_] funkymonkUK[_199_] is offline
external usenet poster
 
Posts: 1
Default errrors while trying to delete a commandbutton


sorry i am having troubles with the code.

I have the following

Private Sub updater_Click()
Range("a1").Activate
Sheets("Information").OLEObjects("updater").Delete
End Sub

and am getting a Runtime 1004 : Application-Defined or object-define
error.

i have no idea why this could be happening

--
funkymonkU
-----------------------------------------------------------------------
funkymonkUK's Profile: http://www.excelforum.com/member.php...fo&userid=1813
View this thread: http://www.excelforum.com/showthread.php?threadid=55594