Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-09-2025, 02:52 AM
macropod's Avatar
macropod macropod is offline Change all text in frames Windows 10 Change all text in frames Office 2016
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

For example:

Code:
Sub Demo()
Application.ScreenUpdating = False
Dim Para As Paragraph
With ActiveDocument
  For Each Para In .Paragraphs
    With Para
      If .Borders.Enable = True Then
      .Range.Font.Name = "Calibri"
      .Range.Font.Bold = True
      .Borders.Enable = False
      End If
    End With
  Next
End With
Application.ScreenUpdating = True
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
bold text, border, font change



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using text frames in the Footnote area RRB Word 9 12-07-2023 02:30 AM
Preventing Word inserting unwanted frames around text SueN Word 4 04-05-2023 08:28 PM
why does applying "table text bold" format to last row sometimes trigger the appearance of frames? pkacsor Word Tables 3 02-27-2023 03:56 PM
Convert all Frames to Text stky Word VBA 1 12-05-2021 06:41 AM
Frames, Frames, Frames: How to eliminate them but keep the text? Dakota Word 8 02-09-2014 01:07 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:33 AM.


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