Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-25-2014, 06:19 PM
macropod's Avatar
macropod macropod is offline Looking for best way to remove VBA and CustomUI from a file via VBA Windows 7 32bit Looking for best way to remove VBA and CustomUI from a file via VBA Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you store the macros & useforms in the document template, they'll be available on whatever system the template is available, but not otherwise (because they don't get added to the document). The only reasons the code would remain in the document are:
1. You're using a document as a template, instead of using a template; or
2. The code specifically written to add itself to the document (which isn't something you're likely to have achieved by accident).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for best way to remove VBA and CustomUI from a file via VBA excel cannot open the file .xlsx because the file format or file extension is not val teddysika Excel 1 11-22-2012 06:06 AM
Remove first character from text file dwillyfan Word VBA 1 09-04-2012 08:29 PM
How to remove password from .docx file? erik2282 Word 3 05-29-2012 05:44 AM
Looking for best way to remove VBA and CustomUI from a file via VBA How to remove "Table of Figures" as we do to remove the "Table of Contents"? Jamal NUMAN Word 1 07-08-2011 05:40 PM
Problem with Workbook_Open with CustomUI birdseye42 Excel 0 08-26-2009 11:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft