PC Review


Reply
Thread Tools Rate Thread

how to copy excel table into frontpage 2003 without the style markup

 
 
Me
Guest
Posts: n/a
 
      13th Jan 2004
Hello,
i'm trying to paste data from Excel 2003 into a html document in
Frontpage 2003. This works but Frontpage also takes over all the
styles.

This is how the pasted code looks like in Frontpage 2003:
<table x:str border="0" cellpadding="0" cellspacing="0" width="128"
style="border-collapse:
collapse;width:96pt" id="table1">
<colgroup>
<col width="64" span="2" style="width:48pt">
</colgroup>
<tr height="17" style="height:12.75pt">
<td height="17" align="right" width="64" style="height: 12.75pt;
width: 48pt; color: windowtext; font-size: 10.0pt; font-weight: 400;
font-style: normal; text-decoration: none; font-family: Arial;
text-align: general; vertical-align: bottom; white-space: nowrap;
border: medium none; padding-left: 1px; padding-right: 1px;
padding-top: 1px" x:num>
1</td>

Is there a possibility to paste the excel table without all this style
markup?
I've tried everything, including all the different Paste options but
none seems to do the trick.

As result i would like to obtain only the <table>, <tr> and <td> tags
without the styles.

In office XP and office 2000 there was a workaround for this, but in
Office 2003 this seems not to work anymore: I copied the excel data
into Wordpad. And from Wordpad i copied it into Frontpage XP. That way
Frontpage XP did not put all these annoying styles in my html code

Thanks very much!
 
Reply With Quote
 
 
 
 
Jim Buyens
Guest
Posts: n/a
 
      13th Jan 2004
>-----Original Message-----
>Hello,


Howdy.

>i'm trying to paste data from Excel 2003 into a html
>document in Frontpage 2003. This works but Frontpage
>also takes over all the styles.
> ...
>Is there a possibility to paste the excel table without
>all this style markup?


This is ugly but it works.
1. Save the table as comma-separated or tab-separated
values.
2. Open the resulting file in Notepad.
3. Press Ctrl+A and Ctrl+C tp copy everything in
Notepad.
4. Paste the clipboard into FrontPage.
5. Select the text you just pasted.
6. Choose Convert from the Table menu, and then
select Text To Table.
7. Select the delimiter you choose in step 1, then
click OK.

For a somewhat more automated solution, browse

http://www.interlacken.com/winnt/dnld/

and under FrontPage Add-Ins, click SuperRemoveFormat.
After registering with the site, you can download a macro
that removes most of the excess formatting baggage that
Excel creates.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


 
Reply With Quote
 
Albanygun
Guest
Posts: n/a
 
      13th Jan 2004
I highlight the Excel data, save the Excel data as html in a file, then
import the file into the web page.

"Me" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
> i'm trying to paste data from Excel 2003 into a html document in
> Frontpage 2003. This works but Frontpage also takes over all the
> styles.
>
> This is how the pasted code looks like in Frontpage 2003:
> <table x:str border="0" cellpadding="0" cellspacing="0" width="128"
> style="border-collapse:
> collapse;width:96pt" id="table1">
> <colgroup>
> <col width="64" span="2" style="width:48pt">
> </colgroup>
> <tr height="17" style="height:12.75pt">
> <td height="17" align="right" width="64" style="height: 12.75pt;
> width: 48pt; color: windowtext; font-size: 10.0pt; font-weight: 400;
> font-style: normal; text-decoration: none; font-family: Arial;
> text-align: general; vertical-align: bottom; white-space: nowrap;
> border: medium none; padding-left: 1px; padding-right: 1px;
> padding-top: 1px" x:num>
> 1</td>
>
> Is there a possibility to paste the excel table without all this style
> markup?
> I've tried everything, including all the different Paste options but
> none seems to do the trick.
>
> As result i would like to obtain only the <table>, <tr> and <td> tags
> without the styles.
>
> In office XP and office 2000 there was a workaround for this, but in
> Office 2003 this seems not to work anymore: I copied the excel data
> into Wordpad. And from Wordpad i copied it into Frontpage XP. That way
> Frontpage XP did not put all these annoying styles in my html code
>
> Thanks very much!



 
Reply With Quote
 
Me
Guest
Posts: n/a
 
      14th Jan 2004
Hey Jim!

thanks a lot for the advice.

I've downloaded the macro and it works!

You've just saved me a lot of hassle...

"Jim Buyens" <(E-Mail Removed)> wrote in message news:<00c801c3d9ff$15856f20$(E-Mail Removed)>...
> >-----Original Message-----
> >Hello,

>
> Howdy.
>
> >i'm trying to paste data from Excel 2003 into a html
> >document in Frontpage 2003. This works but Frontpage
> >also takes over all the styles.
> > ...
> >Is there a possibility to paste the excel table without
> >all this style markup?

>
> This is ugly but it works.
> 1. Save the table as comma-separated or tab-separated
> values.
> 2. Open the resulting file in Notepad.
> 3. Press Ctrl+A and Ctrl+C tp copy everything in
> Notepad.
> 4. Paste the clipboard into FrontPage.
> 5. Select the text you just pasted.
> 6. Choose Convert from the Table menu, and then
> select Text To Table.
> 7. Select the delimiter you choose in step 1, then
> click OK.
>
> For a somewhat more automated solution, browse
>
> http://www.interlacken.com/winnt/dnld/
>
> and under FrontPage Add-Ins, click SuperRemoveFormat.
> After registering with the site, you can download a macro
> that removes most of the excess formatting baggage that
> Excel creates.
>
> Jim Buyens
> Microsoft FrontPage MVP
> http://www.interlacken.com
> Author of:
> *----------------------------------------------------
> |\---------------------------------------------------
> || Microsoft Office FrontPage 2003 Inside Out
> ||---------------------------------------------------
> || Web Database Development Step by Step .NET Edition
> || Microsoft FrontPage Version 2002 Inside Out
> || Faster Smarter Beginning Programming
> || (All from Microsoft Press)
> |/---------------------------------------------------
> *----------------------------------------------------

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to Convert Style Markup into Actual MSWord Style? dannywg@gmail.com Microsoft Word Document Management 1 25th Apr 2007 02:38 PM
how do i insert HTML markup in frontpage 2003? =?Utf-8?B?c29jb25mdXNlZA==?= Microsoft Frontpage 1 6th Apr 2005 10:59 AM
Frontpage 2003 and Navigation Style =?Utf-8?B?SUJD?= Microsoft Frontpage 7 23rd Feb 2005 12:36 PM
Can't copy Word 2003 table into Excel 2003 worksheet JerryD Microsoft Excel Worksheet Functions 0 24th Apr 2004 03:34 PM
Can't copy Word 2003 table into Excel 2003 worksheet =?Utf-8?B?SmVycnlE?= Microsoft Excel Setup 0 14th Apr 2004 11:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:21 AM.