Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 07-29-2024, 12:52 AM
Guessed's Avatar
Guessed Guessed is offline Converting tables to text Windows 10 Converting tables to text Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,186
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

You could try this bodgy code
Code:
Sub TableDeconstructor()
  Dim i As Integer, aRng As Range
  For i = ActiveDocument.Tables.Count To 1 Step -1
    With ActiveDocument.Tables(i)
      If .Columns.Count > 1 Then
        .Columns(2).Select
        Selection.Cut
        Set aRng = .Range
        aRng.Collapse Direction:=wdCollapseEnd
        aRng.Select
        Selection.Paste
        .ConvertToText
      End If
    End With
  Next i
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Tags
table, text



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting tables to images - landscape issue. arabgogs Word VBA 0 07-19-2024 02:04 AM
Converting tables to text Multiple tables in Word, converting working Excel macro ez1138 Word VBA 5 04-14-2021 04:39 AM
Converting tables to text Converting plain text to text box/frame peacespotting Word 1 08-08-2013 10:39 PM
converting arabic text pdf to word messes up text jeffk Word 0 10-20-2012 10:01 AM
Converting tables to text converting picture into text MS Office Noob Word 2 06-12-2012 05:29 PM

Other Forums: Access Forums

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