A few years ago, I wrote a VBA macro for my department which takes prints project documents to PDF from our network. This macro proved so useful that nearly everyone in my deparment and several other departments use it.
Now, we have run into a problem. when I launch Autocad2012, the Macro's are all disabled the custom button I created to run the macro does nothing. I can go into the VBA manager and load the macro(It's already in the startup suite but for some reason doesn't load) But as soon as I close Autocad and re-start, the macro's are disabled again.
Anyone have an idea what is happening and how to fix it? I suspect it might be something to do with the company wide security settings for Autocad that my R&D engineering group sets but can'tbe sure.
Any help would be appreciated.
I'd suggest you try installing the AutoCAD 2012 VBA enabler module.
It comes in 32 or 64 bit. Make sure you install the correct one for your computer.
I already have this installed on the machine. I can run the macro after I turn on the macros in the VBARUN session. The problem is that they macros get disabled every time I close Autocad or when I re-boot the computer. It is not a problem of not having VBA on the computer it is a problem with the settings between autocad and the macro security.
I really don't understand this reply. Are you saying I should post this question in the section you linked to? It doesn't really appear to be appropriate as the problem does not appear to be with VBA but rather with security and the startup suite in AutoCAD.
The issue I have is that when I launch autocad the macro's are disabled. I can go in to VBARUN, load my code. I then get a message box saying that macros are disabled and asking if I want to endable macros. When I click Enable Macros, everything is A-OK until I close AutoCAD and re-launch after which I have to do the same thing again..
Posting in the VBA forum is the better bet to getting an answer. It is specific to VBA wereas this forum is for everything in 2012. You're narrowing down the people from everyone that has 2012 (and may or may not use VBA) to only those members of the forum that use VBA customization.
(if ("mysolution"=answer) then (click "Accept As Solution"))
Or are you saying you set this on and it gets turned off each time?
Access a broad range of knowledge to help get the most out of your products and services.