Author Topic: MS Word + VBScript to import EA diagrams  (Read 2439 times)

Arshad

  • EA User
  • **
  • Posts: 131
  • Karma: +6/-1
    • View Profile
Re: MS Word + VBScript to import EA diagrams
« Reply #15 on: January 18, 2018, 04:08:04 pm »
Hi Viking
If you need to insert images to word (without memory stream )then you can try using below codes

Code: [Select]
Selection.InlineShapes.AddPicture FileName:= _"fullPathOftheImage", LinkToFile:=False, _SaveWithDocument:=True
or

Code: [Select]
objShapes.AddPicture (fullPathOftheImage)   
Thanks
Arshad

Thank you, Arshad. That worked.


Cheers  ;D ;D


Arshad

Sparx Systems India - Services
Profile | Training PlansConsulting