[Archived] MicroStation V8i VBA Forum - Excel.application.ontimer "cannot run macro"
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Excel.application.ontimer "cannot run macro"

by
Bentley Communities Legacy Member
Expert

I am using the "Application.ontimer" member of the excel library  to call a Public Sub GetTime()

I am getting the error "Cannot run the Macro "GetTime" May not be available in this  workbook or all...."

I've changed my security setting to "none" in Microstation XM, is there a place where I should look to see if macros are disabled?  I am running other vba, with no problem.

Thanks in advance.