View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Why do I get an error?

Activecell applies to a window or the application.

Set Celle = Activecell

looks like what you want.



"Charlotte E." wrote:

Why do I get an error in the last linie of these 4 lines of code:

Dim Ark As Object
Set Ark = ActiveWorkbook.ActiveSheet

Dim Celle As Object
Set Celle = Ark.ActiveCell

Thanks...


--

Dave Peterson