M
Mark Milliman
I was wondering how to call a macro or execute VBA code in HTML. Why would
I want to do this? My first application is changing my Outlook Today page.
More complex applications involve SharePoint. I can fumble my way around
FrontPage and modify some HTML, but I get stumped at the more complex
things.
As an example, I would like to create a button labeled "Send Message" on the
Outlook Today page that will simply call an existing macro (Send_Message)
that creates (Set objMsg = Application.CreateItem(olMailItem) and displays
(objMsg.Display) a new mail item using all of my default settings. How do I
use the input tag to refer to my macro?
Can I put VBA code in a HTML page? I know I how to do it for JavaScript and
VBScript although I can't write VBScript. That way I would not have to
create macros for everything. I suppose another way would be to call a
function or subroutine from the page. How do I do that?
Thanks for the assistance,
Mark
________________________________
Mark Milliman
Longmont, Colorado E-mail: (e-mail address removed)
________________________________
I want to do this? My first application is changing my Outlook Today page.
More complex applications involve SharePoint. I can fumble my way around
FrontPage and modify some HTML, but I get stumped at the more complex
things.
As an example, I would like to create a button labeled "Send Message" on the
Outlook Today page that will simply call an existing macro (Send_Message)
that creates (Set objMsg = Application.CreateItem(olMailItem) and displays
(objMsg.Display) a new mail item using all of my default settings. How do I
use the input tag to refer to my macro?
Can I put VBA code in a HTML page? I know I how to do it for JavaScript and
VBScript although I can't write VBScript. That way I would not have to
create macros for everything. I suppose another way would be to call a
function or subroutine from the page. How do I do that?
Thanks for the assistance,
Mark
________________________________
Mark Milliman
Longmont, Colorado E-mail: (e-mail address removed)
________________________________