T
tpitman
I would like to create a macro which would insert some default text i
the subject line of a new mail
the subject line of a new mail
tpitman said:Now I have created the new message with the default test in th subject
line, I would like to open the "add attachement" window within th same
tpitman said:Now I have created the new message with the default test in th subject
line, I would like to open the "add attachement" window within th same
tpitman said:Re: creating a macro
Try this:
Dim objCBs As office.CommandBars, objCBP As office.CommandBarButton
Set objCBs = Application.ActiveInspector.CommandBars
Set objCBP = objCBs.FindControl(, 1079) 'RUN THE INSERT FILE MENU
COMMAND
objCBP.Execute
--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--------------------------------------------------
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/
Unfortunatley, this produces a Error '91' message.
tpitman said:Re: creating a macro
Try this:
Dim objCBs As office.CommandBars, objCBP As office.CommandBarButton
Set objCBs = Application.ActiveInspector.CommandBars
Set objCBP = objCBs.FindControl(, 1079) 'RUN THE INSERT FILE MENU
COMMAND
objCBP.Execute
--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--------------------------------------------------
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/
Unfortunatley, this produces a Error '91' message.