01-09-2016 05:23 AM - edited 01-09-2016 05:33 AM
We unable to create the report word document through macro with below createobject code in web front end ,
Do we have to enable any option to active it in web front end ?
Set oWordApplication = CreateObject("Word.Application")
It works in Windows front end .
Any suggestion would be appreciated //Thanks
Solved! Go to Solution.
01-09-2016 09:58 AM - edited 01-09-2016 09:59 AM
Thanks Jerome! it works the one you suggested !
Sub RTFGenerate(mgoContext, strResultRtf)
strResultRtf = "{\rtf1\ansi\ansicpg1252\deff0\deflang1036\deflangfe1036\deftab708{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}}{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 Test\par}"
End Sub
--Arunas
01-09-2016 09:01 AM
Hello Arunas
RTF macro are not compatible with the generation mode used with Web Front-End.
In this mode, it is not possible to call MS word during execution ( execution of descriptors or post processing)
See http://community.mega.com/t5/custom/page/page-id/mega-kb-solution?sid=50120000000mr0sAAA