AutoCAD 2010/2011/2012 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello Lumpy,
I'd suggest you try installing the AutoCAD 2012 VBA enabler module.
http://usa.autodesk.com/adsk/servlet/item?siteID=1
It comes in 32 or 64 bit. Make sure you install the correct one for your computer.
Good Luck,
Steve
Re: Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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..
Re: Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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"))
--------------------------------------------------
Brandon Gingerich
Re: Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Brandon, I appreciate the more lucid response. I'll re-post the question over there.
Re: Macro's disabled
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Perhaps ==>
http://usa.autodesk.com/adsk/servlet/ps/dl/item?id
Or are you saying you set this on and it gets turned off each time?

