Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel 2003
In Internet Explorer, I view the source code of my Web page in Notepad, then copy that text and paste it into an Excel worksheet. Excel gives me only two choices in Paste Special (text and unicode), both of which causes a problem. They both paste as interpreted HTML code and so my worksheet tries to render as a Web page. I don't want that. So after pasting and after the rendering, I click the paste option button that appears, and choose "Use text import wizard". In the wizard I choose "Fixed Width" and click Finish. The HTML code now appears in my worksheet correctly as HTML code (text). I want this clipboard-pasting routine in VBA, but can't figure it out. It won't record the paste option button, so that's no help. How do I paste using VBA as described above or using another paste method where I get all the source code text on my clipboard into a worksheet as text? Many thanks, Chuck |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paste as text not HTML | Excel Discussion (Misc queries) | |||
Paste HTML Code | Excel Programming | |||
How to paste html code to xls | Excel Discussion (Misc queries) | |||
Import HTML code from a text file. | Excel Programming | |||
How can I make Excel display HTML code as text | Excel Discussion (Misc queries) |