Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-05-2023, 09:36 AM
vivka vivka is offline Remove spaces before each paragraph mark in text and footnotes Windows 7 64bit Remove spaces before each paragraph mark in text and footnotes Office 2016
Expert
 
Join Date: Jul 2023
Posts: 302
vivka is on a distinguished road
Default

RobiNew, I'm almost sure, the code works on footnotes! The possible reason it doesn't work in your doc is your footnotes are not footnotes proper. To find out their StoryType, place the cursor anywhere on the footnote and run the following code:
Sub Story_Type_Sel()
MsgBox selection.range.StoryType


End Sub
The footnote, as you know, will have value 2. If you get a different value, change the main macro respectively. I had this kind of problem until I changed the value to 3 (wdEndnotesStory).
However, I admit I may be wrong.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove spaces before each paragraph mark in text and footnotes How to remove gap between text and footnotes on Mac? gemmajackson7 Word 1 05-16-2021 07:26 AM
Remove spaces before each paragraph mark in text and footnotes How to Remove trailing spaces AND line breaks in a block of text JulianS96 Word 4 02-04-2020 04:20 AM
Remove spaces before each paragraph mark in text and footnotes Remove Paragraph / Spaces sharina1985 Mail Merge 1 10-05-2019 03:52 AM
big spaces appearing automatically in certain parts of the text - how to remove them pratodifuoco Word 2 05-26-2017 12:55 PM
editing text and remove spaces romanticbiro Word VBA 5 07-04-2014 07:42 PM

Other Forums: Access Forums

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