Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-19-2017, 05:03 AM
macropod's Avatar
macropod macropod is offline Word macro - remove shading from active para. and assign language to it, keep text cursor position Windows 7 64bit Word macro - remove shading from active para. and assign language to it, keep text cursor position 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

Try:
Code:
Sub EngUSNoBackground()
With Selection.Paragraphs.First.Range
  With .Shading
    .Texture = wdTextureNone
    .ForegroundPatternColor = wdColorAutomatic
    .BackgroundPatternColor = wdColorAutomatic
  End With
  .LanguageID = wdEnglishUS
  .NoProofing = False
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA code to assign color to an active worksheet jane.bugai Excel Programming 5 03-03-2017 08:39 AM
Word macro - remove shading from active para. and assign language to it, keep text cursor position Cursor Position; WORD 2007 Question, Please Robert11 Word 3 11-27-2015 09:42 PM
changing cursor position anand Word VBA 2 06-19-2015 05:18 AM
Word macro - remove shading from active para. and assign language to it, keep text cursor position Get para no where txt is found, and move text to end of paragraph using Word 201 marceepoo Word VBA 2 12-20-2012 11:42 AM
Macro for absolute text box re-position hobbsbaboo PowerPoint 0 03-15-2012 01:44 AM

Other Forums: Access Forums

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