View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Application On Time

I meant

set the active cell to 9000000000 at 12:02

"Mike H" wrote:

Hi,

I see nothing wrong with it providing it has been called it will set the
active cell to 90000000 12:02. Is that what you want it to do?

Mike

"Varne" wrote:

Hi!

Can someone tell me what is wrong with the following 2 macros? I have
limited access to Internet so if I am delayed in responding to responses
please appologise.

Sub Hey()

Application.OnTime TimeValue("12:02:00"), "Hermit"


End Sub


Sub Hermit()

ActiveCell.Value = 9000000

End Sub



The Error message say macros disabled or not available in this workbook. I
have enabled macros and both macros are in the same module in the workbook.

Thanks.