Module m = current
string s = name(m)
OleAutoObj wDocs = null
OleAutoArgs args = create()
OleAutoObj wApp = oleGetAutoObject "Excel.Application"
olePut (wApp, "visible", "true")
oleGet(wApp, "ActiveWorkBook", wDocs)
oleMethod (wDocs, "Add", args)
clear(args)
put (args, "C:\\Export\\" s) // choose a meaningful file path
oleMethod (wDocs, "SaveAs", args)
oleMethod(wApp, "Quit")
I exported a module but not able save with above dxl code. In the code line
oleMethod (wDocs, "Add", args)
, null parameter is passed for argument wDocs. Exported excel is not becoming active. oleGet(wApp, "ActiveWorkBook", wDocs) is not working.
I am able to save any other excel or blank excel book but not exported excel. Exported excel is not becoming active.
#Support#Sustainability#DOORS#EngineeringRequirementsManagement#SupportMigration