Author Topic: VISIO and VBA  (Read 190 times)

0 Members and 1 Guest are viewing this topic.

cong

  • Newbie
  • *
  • Posts: 2
VISIO and VBA
« on: January 21, 2021, 02:17:17 AM »
Hi guy!

Is able to open a PDF file,clipboard the content and copy to visio for modifying?
thank you!

Surrogate

  • Hero Member
  • *****
  • Posts: 1166
    • ShapeSheet™ Knowledge Base
Re: VISIO and VBA
« Reply #1 on: January 21, 2021, 02:44:15 AM »
IMHO, we haven't direct ways to do it !
Some years ago i try:
1. Open PDF-document via InkScape application.
2. Save content in SVG format.
3. Open SVG-file with Visio, copy content from here.
4. Paste content to target visio document.

But, first step can work only with PDF which convert from native office or CAD applications.
Not for scan !

cong

  • Newbie
  • *
  • Posts: 2
Re: VISIO and VBA
« Reply #2 on: January 21, 2021, 04:37:04 AM »
Thank you for your experience !
Actually now i change to create image database then import image.
It takes time but more simple than  import directly from PDF.


Surrogate

  • Hero Member
  • *****
  • Posts: 1166
    • ShapeSheet™ Knowledge Base
Re: VISIO and VBA
« Reply #3 on: January 21, 2021, 04:54:10 AM »
It takes time but more simple than  import directly from PDF.
Visio can't open PDF document, i dont know how open PDF with 3rd party application via VBA, for copy content from here :(