Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2017, 09:10 AM
bnyamin bnyamin is offline Convert all tables to text but ... Windows 7 64bit Convert all tables to text but ... Office 2010 64bit
Advanced Beginner
Convert all tables to text but ...
 
Join Date: Oct 2014
Posts: 36
bnyamin is on a distinguished road
Default Convert all tables to text but ...


Convert all tables to text in endnotes
Reply With Quote
  #2  
Old 05-24-2017, 04:19 PM
Guessed's Avatar
Guessed Guessed is offline Convert all tables to text but ... Windows 10 Convert all tables to text but ... Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,980
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Yes please, two sugars...
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 05-24-2017, 04:20 PM
Guessed's Avatar
Guessed Guessed is offline Convert all tables to text but ... Windows 10 Convert all tables to text but ... Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,980
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

... and thanks for making such an excellent effort to ask a question so succinctly that no-one knows what you want to do.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #4  
Old 05-24-2017, 05:26 PM
macropod's Avatar
macropod macropod is offline Convert all tables to text but ... Windows 7 64bit Convert all tables to text but ... Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Let me guess - two guesses actually (after all we have two Guessed replies )
1. You want to turn all tables in the document body into endnotes - as text, not as tables; or
2. You want to turn all tables in endnotes into text.
Who knows? Maybe you want something different?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 05-24-2017, 11:52 PM
bnyamin bnyamin is offline Convert all tables to text but ... Windows 7 64bit Convert all tables to text but ... Office 2010 64bit
Advanced Beginner
Convert all tables to text but ...
 
Join Date: Oct 2014
Posts: 36
bnyamin is on a distinguished road
Default

i want to turn all tables in endnotes into text
Attached Files
File Type: docx befor run code.docx (18.7 KB, 8 views)
File Type: docx after run code vba.docx (18.5 KB, 8 views)
Reply With Quote
  #6  
Old 05-25-2017, 12:03 AM
Guessed's Avatar
Guessed Guessed is offline Convert all tables to text but ... Windows 10 Convert all tables to text but ... Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,980
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

In that case, try this macro
Code:
Sub ConvertEndnoteTables()
  Dim aEN As Endnote, i As Integer
  For Each aEN In ActiveDocument.Endnotes
    For i = aEN.Range.Tables.Count To 1 Step -1
      aEN.Range.Tables(i).ConvertToText Separator:=wdSeparateByParagraphs, NestedTables:=True
    Next i
  Next aEN
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #7  
Old 05-25-2017, 12:15 AM
bnyamin bnyamin is offline Convert all tables to text but ... Windows 7 64bit Convert all tables to text but ... Office 2010 64bit
Advanced Beginner
Convert all tables to text but ...
 
Join Date: Oct 2014
Posts: 36
bnyamin is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
In that case, try this macro
Code:
Sub ConvertEndnoteTables()
  Dim aEN As Endnote, i As Integer
  For Each aEN In ActiveDocument.Endnotes
    For i = aEN.Range.Tables.Count To 1 Step -1
      aEN.Range.Tables(i).ConvertToText Separator:=wdSeparateByParagraphs, NestedTables:=True
    Next i
  Next aEN
End Sub
Thank you for sharing your wisdom with me.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert all tables to text but ... Convert Word Tables to PDF tcoggins Word Tables 2 06-29-2016 10:28 AM
Convert all tables to text but ... I need to convert shaded text into highlighted text on about 80 different long documents. VBA macro? AustinBrister Word VBA 8 05-28-2015 02:42 PM
Convert all tables to text but ... convert text to tables oraenthu Word 8 03-17-2015 10:22 AM
convert tables to fillable forms in word expert4knowledge Word 1 02-13-2014 03:06 AM
My plain text post got converted to rich text in a reply, how to convert it back? david.karr Outlook 0 01-05-2012 09:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft