Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Paste text from webpages into cells and keep formats

Subject basically says it all... I always get new formats (frames,
alignment etc.).

Is there a way for the whole Excel sheet to only paste the contents
and not having to go via the right click menu + dialog to paste only
the contents?

I'm collecting data for an application like addresses, emails, URLs
and it's pretty annoying that the formats are changed every time when
pasting.

Maybe there's an option that I can't find??

TIA
Karsten
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 533
Default Paste text from webpages into cells and keep formats

it's pretty annoying that the formats are changed every time when pasting.

Agreed but I don't a way to get Excel to default to destination format.

I recorded a macro while pasting and switching to destination format and I
got this, which seems to do the job:


Sub Macro1()
ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:= _
False, NoHTMLFormatting:=True
End Sub



--
Jim
"Karsten Wutzke" wrote in message
...
| Subject basically says it all... I always get new formats (frames,
| alignment etc.).
|
| Is there a way for the whole Excel sheet to only paste the contents
| and not having to go via the right click menu + dialog to paste only
| the contents?
|
| I'm collecting data for an application like addresses, emails, URLs
| and it's pretty annoying that the formats are changed every time when
| pasting.
|
| Maybe there's an option that I can't find??
|
| TIA
| Karsten


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formats- paste special formats? jcarney Excel Discussion (Misc queries) 1 November 1st 07 06:37 PM
paste conditional formats as formats leo Excel Discussion (Misc queries) 2 July 5th 07 10:06 AM
Cut/paste cells based on text color or certain characters michaelberrier Excel Discussion (Misc queries) 8 February 3rd 07 03:46 PM
how can we copy cells comments text and paste to cells שי פלד Excel Discussion (Misc queries) 3 December 12th 05 05:16 AM
How do I edit, copy and paste text in excel cells? floridactyl New Users to Excel 2 December 31st 04 03:52 PM


All times are GMT +1. The time now is 02:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"