Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-06-2022, 07:29 AM
BrianHoard BrianHoard is offline Pasting superScripts from Word problem Windows 10 Pasting superScripts from Word problem Office 2019
Advanced Beginner
Pasting superScripts from Word problem
 
Join Date: Jul 2022
Location: Haymarket, VA USA
Posts: 85
BrianHoard is on a distinguished road
Default

Okay, I'm now trying to find how to fix this character formatting and stuck again. Here is the portion of my script where I'm replacing what once was an endnote marker/citation number with my superScript number. So how to fix this endnote reference character formatting while keeping the superScript? I've commented out a couple attempts that aren't working. These do remove the endnote reference character style, but show as regular size text when pasted. They look fine in Word still.



Code:
' Write Citation number
With rng_sourcesCited
  .Collapse Direction:=wdCollapseEnd
  .InsertAfter txt_citationNumber
  
  ' How to remove the endnote reference character style?
  ' .Style = wdStyleNormal ' These lose superScript formatting
  ' .CharacterStyle = wdStyleNormal
  
  .Font.Superscript = True ' Make this text superScript
  .Font.Bold = False ' Ensure the superScript doesn't inherit boldness
End With
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with copying/pasting from web to word 2016 cricket1001 Word 2 07-20-2020 07:00 PM
Pasting superScripts from Word problem Extract words which has superscripts and the corresponding superscript value in footnotes in word sai Word VBA 12 05-11-2020 04:29 AM
Problem pasting mixed content from webpage into Word 2007 silverman166 Word 0 02-17-2020 03:46 AM
Word 2000--Problem with format retention when pasting JerryL Word 2 01-05-2014 07:20 PM
Copy and pasting problem Word 2010 Sarah262 Word 3 08-16-2012 03:46 PM

Other Forums: Access Forums

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