Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-11-2015, 12:37 AM
tinfanide tinfanide is offline Convert Text To Table: Separate text at (Other)? Windows 7 64bit Convert Text To Table: Separate text at (Other)? Office 2010 32bit
Expert
Convert Text To Table: Separate text at (Other)?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Convert Text To Table: Separate text at (Other)?



Code:
Sub ConvertTextToTable()
    
Dim oRange As Word.Range
     
If ActiveDocument.Bookmarks("bmTable").Range.Tables.Count <> 0 Then Exit Sub
 
Set oRange = ActiveDocument.Bookmarks("bmTable").Range
oRange.ConvertToTable Separator:=???
 
Set oRange = Nothing
End Sub
I wonder how I can use other separators / delimiters, in my example that is a pipe ("|"). Please see the ??? in the codes above.

Thanks!
Reply With Quote
 

Tags
convert text to table



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text To Table: Separate text at (Other)? Convert image-text hybrids into plain text morlack Excel 4 12-03-2014 05:29 PM
Convert graphic to text in a table Jennifer Murphy Word 6 01-24-2013 12:56 PM
Why does Word separate table and reference endnotes by allowing text to go in between newby2013 Word Tables 2 12-31-2012 03:45 PM
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
Convert Text To Table: Separate text at (Other)? Separate body text from TOC heading text Gordc Word 5 06-15-2011 04:17 PM

Other Forums: Access Forums

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