Convertion pdf in 2014

Hello

I have a macro that allows a PDF backup in a folder of your choice.

Since the switch to the 2014 version, it no longer works.

I've already searched a lot on the net to find the problem but I'm terrible at programming.

Can you help me?

Kind regards

Chris

Hello

 

Please attach the macro here so that we can watch.

Macro worked in 2013?

 

Otherwise, a few leads:

 

http://www.cadsharp.com/blog/solidworks-macro-compatible-64-vba7/

 

http://help.solidworks.com/2013/English/api/sldworksapiprogguide/Overview/VBA_and_SolidWorks_x64.htm?id=9ff53054bb66473cb6ab471eb274a6e1

 

Hello

In the VBA code, look to see if there is a variable ending in 20XX to pass in 2014.

Is it a VBA or VSTA maco?

Check that the 2014 references are selected

 

See attached image

 

Otherwise join the macro, so I can look at it

 

 


references.png
6 Likes

Look at this thread

https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CD8QFjAA&url=http%3A%2F%2Fwww.lynkoa.com%2Fforum%2F3d%2Fmacro-enregistrement-en-pdf-dans-un-dossier-specifique&ei=G9weU7N4jZbRBc69gPgL&usg=AFQjCNEqRgrw8ITgX6mDHOwkfGN0fH9g6Q&sig2=u8MGcopZCW7iFl52BHa4Fw

@+ ;-)

Here's the macro in question

Thank you

 


sauv_sous_pdf.swp

I should point out that I went from 2012 (seven 64 bits) to 2014 (seven 64 bits)

 

It works...

 

In fact it's a PB from VBA6.3 to VBA7.1 that now manages the memory that was not addressable in 32bits

 

For more information see the following article

http://www.mycadblog.fr/problemes-de-compatibilite-des-macros-vba-v6-3-avec-solidworks-2013/

 


sauv_sous_pdf_modif.zip
7 Likes

Thank you, thank you very much!

 

1 Like