Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-27-2019, 07:38 AM
gmaxey gmaxey is offline Hide footnote numbering with vba Windows 10 Hide footnote numbering with vba Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Try this:

Code:
Sub Test()
Dim oRng As Range
  ActiveDocument.Styles(wdStyleFootnoteReference).Font.Hidden = False
  Set oRng = ActiveDocument.StoryRanges(wdFootnotesStory)
  With oRng.Find
    .Style = "Footnote Reference"
    While .Execute
      oRng.Characters.Last.Next.Delete
      oRng.Text = vbNullString
    Wend
  End With
  ActiveDocument.Styles(wdStyleFootnoteReference).Font.Hidden = True
  ActiveDocument.ActiveWindow.View.ShowHiddenText = False
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide footnote numbering with vba Adding footnote number as part of footnote text NoCalScribe Word VBA 3 07-15-2019 07:20 PM
Hide footnote numbering with vba Problem with footnote numbering -- Two different footnote levels mdhg Word 7 05-19-2016 06:33 AM
Hide footnote numbering with vba How to change the font of footnote numbering? mudum Word 2 12-03-2015 06:27 AM
Hide footnote numbering with vba Footnote numbering problem within single section jsswadley Word 2 03-17-2015 04:44 PM
Footnote get double numbering malgorzata Word 2 12-12-2014 12:45 AM

Other Forums: Access Forums

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