Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

279
Vistas
Export Excel file as HTML [preferably via VBA]

So it was finally time for me to sign up here.. (:

I need to export an Excel file or preferrably a part of it to a newly created HTML file. Using VBA and PublishObjects.Add I have an export. However cells containing following special characters < > " turn out as &lt; &gt; &amp; in that HTML file. I don't want that. I would like to execute JavaScript contained in cells in the HTML file! It is just alerts (for now).

Is there a way to prevent special characters from being translated as shown above?

I could use VBA and open the HTML as text file to replace characters but I think its not a reliable solution. I probably need more than alerts in the future which would further complicate things (edit HTML header, add more complex scripts etc.). Are there better ways to export my file as HTML and include/ add JavaScript?

I tried different VBA tools from the web to have more control over HTML creation but none of them provided a good copy of my file. The file is rather complex.

The solution needs to be automated. Thanks for any suggestions!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda