ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How-To remove HTML from EXCEL 97 File? (https://www.excelbanter.com/excel-worksheet-functions/237760-how-remove-html-excel-97-file.html)

Pedro Sanchez IV

How-To remove HTML from EXCEL 97 File?
 
When I select and copy certain texts it keeps the HTML tags and causes
the spreesheet to be clickbale sending me to a website.

Is there a way to remove the HTML code WITHOUT removing the text?

I am using OFFICE 97

Gord Dibben

How-To remove HTML from EXCEL 97 File?
 
Sub DeleteHyperlinks()
Dim Cell As Range
For Each Cell In ActiveSheet.UsedRange.SpecialCells _
(xlConstants, xlTextValues)
Cell.Hyperlinks.Delete
Next Cell
End Sub


Gord Dibben MS Excel MVP

On Wed, 22 Jul 2009 19:04:10 -0400, Pedro Sanchez IV
wrote:

When I select and copy certain texts it keeps the HTML tags and causes
the spreesheet to be clickbale sending me to a website.

Is there a way to remove the HTML code WITHOUT removing the text?

I am using OFFICE 97




All times are GMT +1. The time now is 01:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com