Hi All,
I am controlling PCAN-Explorer from Excel 2010 using VBA. I can instantiate the application and open a project (MyProj.peproj) successfully using the following:
Sub OpenProject()
Dim doc
Set doc = PCANExp.Documents.Open("$(MyDocsDir)\PCAN-Explorer 5\MyProj.peproj",,True)
End Sub ...
Search found 3 matches
- Sun 14. Sep 2014, 16:30
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Documents.Open Returns Nothing
- Replies: 1
- Views: 3474
- Sun 14. Sep 2014, 15:18
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Cannot Create Virtual Net
- Replies: 1
- Views: 10304
Cannot Create Virtual Net
Hi All,
I'm using PCAN-USB Pro hardware and PCAN-Explorer 5.
It seems to work fine with the hardware attached but I want to be able to continue to develop and test my macros by using a simulated network when the PCAN-USB Pro hardware is not available.
From what I read in the Help and forum this ...
I'm using PCAN-USB Pro hardware and PCAN-Explorer 5.
It seems to work fine with the hardware attached but I want to be able to continue to develop and test my macros by using a simulated network when the PCAN-USB Pro hardware is not available.
From what I read in the Help and forum this ...
- Sat 13. Sep 2014, 16:59
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Start PCAN-Explorer from another application
- Replies: 3
- Views: 5188
Start PCAN-Explorer from another application
Thanks for the solution.
Even after adding the references, which doesn't seem to be mentioned in the Help File, it still doesn't work in VBA at least. Maybe the reason is because there is a subtle difference between the code snippets in the Help File and the posted solution, but I'm not 100% sure ...
Even after adding the references, which doesn't seem to be mentioned in the Help File, it still doesn't work in VBA at least. Maybe the reason is because there is a subtle difference between the code snippets in the Help File and the posted solution, but I'm not 100% sure ...