Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2023, 02:38 PM
srmeredi srmeredi is offline Convert word table to excel pastable format Windows 10 Convert word table to excel pastable format Office 2021
Novice
Convert word table to excel pastable format
 
Join Date: Jun 2023
Posts: 2
srmeredi is on a distinguished road
Question Convert word table to excel pastable format


I have the fun task of creating a database for a group at work that has been working off tables in a word document of all things. The format of their table is a title row at the top, a row of fields, then below that a merged cell row with a narrative. I want to move the merged cell row up with the fields so all the data is in a single row.
Attached Images
File Type: png 2023-06-08_14-26-30.png (22.0 KB, 7 views)
Reply With Quote
  #2  
Old 06-08-2023, 04:05 PM
Guessed's Avatar
Guessed Guessed is offline Convert word table to excel pastable format Windows 10 Convert word table to excel pastable format Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,975
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

This is actually surprisingly easy and won't need a macro. I've attached a Word document showing the steps I took to convert this layout.

Assuming your table is EXACTLY as you show and doesn't contain any cells with multiple paragraphs this will work.

The steps you need to make are:
1. Edit the Cell which contains FieldName3 to add a paragraph after it so it contains
FieldName3
NarrativeField

2. Select the entire table and Convert Table to Text, separate text with paragraph marks

3. While that text is selected, Convert Text to Table, 4 columns & separate text at Paragraphs

I've attached a doc showing the dialog box settings you need to use.

If you do have cells with multiple paragraphs, you need to temporarily replace them with something else eg Find and replace ^p with xxx. After you recreate the table and paste it into Excel, do the reverse search and replace (Hint: In Excel, a return in a cell is Ctrl-J in the replace box).
Attached Files
File Type: docx Table_Reformatting.docx (76.7 KB, 1 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 06-09-2023, 12:19 PM
srmeredi srmeredi is offline Convert word table to excel pastable format Windows 10 Convert word table to excel pastable format Office 2021
Novice
Convert word table to excel pastable format
 
Join Date: Jun 2023
Posts: 2
srmeredi is on a distinguished road
Default

Thank you very much.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert word table to excel pastable format Convert table of contents to table format and preserving dynamic property of fields laith93 Word VBA 3 12-10-2021 03:22 PM
Convert word table to excel pastable format VBA convert to table - format Column 1 Shelley Lou Word VBA 4 01-29-2021 05:44 AM
Convert word table to excel pastable format Convert word file into more readable format to paste into Excel jeffreybrown Word 8 02-27-2018 05:34 AM
Convert word table to excel pastable format Importing Data from Excel - Format of table messed up in Word Table epsulliv Word Tables 6 08-24-2015 07:29 AM
Convert word table to excel pastable format Excel convert format [h]:mm:ss to decimal gchan2000 Excel 1 08-17-2010 01:36 PM

Other Forums: Access Forums

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