Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 10-31-2007, 02:00 PM   #1 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 139
OS: W7 x64 - Backup PC: XP-SP3


Word 2007 - Copy Text From Website, but remove table format?

Hi,

This is likely a very simple problem but I have been trying to achieve this with no avail.

But I have Word 2007 and I am wanting to copy and paste to word the entire text from a webpage and have it contain all of its other text formatting (i.e Bolding, Bulletting etc). However I want to remove all of the tables structure format that websites seem to use for a page of text.

I am doing the webpage copy via simply scrolling and highlinting all of the text on the page that I need and then choosing copy and paste into word 2007.

Specifically because I wish to print out to read offline the text from a website and not waste any paper that the table format is causing.

However currently when I copy and paste the text from an entire webpage I am needing to spend some time fiddling removing all the text from inside numerous (and also invisible) tables just to get the perfect full page printout with no wastage.

Therefore can I ask is there anyway I can just copy and paste the text and have it turn out as a normal word formatted document without the tables.

I have tried interim copying from the Website > Notepad > Word 2007 and this does remove the problem with the tables being copied. However Notepad is also removing all of the needed text formatting such as Bullets and Bolding.

So are there any other easy suggestions to achieve this.

Thanks
Anthony

Last edited by Anthony1uk; 10-31-2007 at 02:02 PM.
Anthony1uk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 11-02-2007, 04:54 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 13
OS: Windows 2003


Re: Word 2007 - Copy Text From Website, but remove table format?

Copy the web page, paste into Word using Edit / Paste Special / Rich Text Format

This will give you a table but not a bunch of HTML stuff.

Then select the table and use Table / Convert / Table To Text

You will still have some clean up to do but hopefully this will be much less work for you.
Baldspot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-01-2009, 10:56 AM   #3 (permalink)
Registered User
 
Join Date: Sep 2009
Posts: 1
OS: Windows 7


Re: Word 2007 - Copy Text From Website, but remove table format?

This quick macro will remove the table format - it's set up in a loop for 399 tables but you can adjust that by changing the counter numbers.

' TableToText Macro
Dim Check, Counter
Check = True: Counter = 0 ' Initialize variables.
Do ' Outer loop.
Do While Counter < 400 ' Inner loop.
Selection.GoTo What:=wdGoToTable, Which:=wdGoToNext, Count:=1, Name:=""
Selection.Find.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Rows.ConvertToText Separator:=wdSeparateByTabs, NestedTables:= _
True
Counter = Counter + 1 ' Increment Counter.
If Counter = 399 Then ' If condition is True.
Check = False ' Set value of flag to False.
Exit Do ' Exit inner loop.
End If
Loop
Loop Until Check = False ' Exit outer loop immediately.
End Sub

Last edited by David M C; 09-01-2009 at 10:59 AM.
David M C is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-01-2009, 11:02 AM   #4 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 139
OS: W7 x64 - Backup PC: XP-SP3


Re: Word 2007 - Copy Text From Website, but remove table format?

Thanks for this David.

I had totally forgot I had started this topic.

My need for it has lapsed. But I may possibly need it again in the future.
Anthony1uk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-10-2009, 02:09 PM   #5 (permalink)
Registered User
 
Join Date: Sep 2009
Posts: 1
OS: WinXP Pro SP3


Re: Word 2007 - Copy Text From Website, but remove table format?

Thanks David, I found this through a Google search and it works well for me. I registered here just to say I appreciate it.
Andre_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:06 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85