Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2016, 06:21 AM
macropod's Avatar
macropod macropod is offline Programmatically make text box borders invisible Windows 7 64bit Programmatically make text box borders invisible Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

You code works fine for me as-is. It can only affect a selected shape, not Word's defaults. However, if you insert:
.SetShapesDefaultProperties
after:
.Line.Visible = msoFalse
Your current configuration becomes the default for all autoshapes added to the current document (e.g. they get inserted with no border & 0-width margins).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
vba change textbox word



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loop through controls, make certain controls invisible MacroWizard Word VBA 2 11-10-2015 02:36 PM
Programmatically make text box borders invisible How to make Section headers (Header 2) invisible at print time? inframan Word 7 08-10-2012 09:39 PM
Programmatically make text box borders invisible How do I make invisible the lines in the table Snvlsfoal Word Tables 1 08-11-2011 05:45 AM
Object set to invisible yet I can still move its (invisible) animation paths?? seanspotatobusiness PowerPoint 0 05-23-2011 03:39 AM
Programmatically make text box borders invisible Make text invisible to printer ilkks Word 2 05-06-2011 04:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:58 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