gladpsych Posted December 31, 2018 Posted December 31, 2018 help! How can one convert a text to table (like in word) with several lines of data in MS word.? It is also mixed with paragraphs. I am stumped an an example looks like this
TheSaint Posted December 31, 2018 Posted December 31, 2018 Welcome to the forum. The Microsoft Office UDFs may help you with some of the important bits. See the Help file User Defined Functions Reference section at the end. But if you are wanting to detect what is just paragraph text as opposed to table text, I would check each line for a TAB character maybe ... or more than one, using StringInStr, plus using StringSplit first (to create an array) to get each line based on a carriage return as the separator. Have a go at that if you want, and if you have any difficulties, post what code you have tried, here, and you should get help easily. If you give us something, code wise, to work with, then it will give us a clearer picture of how best to target our help to you. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
Nine Posted December 31, 2018 Posted December 31, 2018 Also if you could give us an example of the end-result file you are searching to achieve, it might help us understand your goal. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now