Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Classic ASP and generation of Excel files without Office

Classic ASP and generation of Excel files without Office

Classic ASP and generation of Excel files without Office

Hi all,
I'd like to generate Excel files from my vbscript (ASP) code without using MSOffice (I know how to do with Automation, but I cannot use it for licensing problems).
So I downloaded EPPlus from https://www.nuget.org/api/v2/package/EPPlus/, renamed package to zip and extracted dll from lib/net40 folder. Then I registered this dll by using this command (in Admin mode):

c:\windows\Microsoft.NET\Framework\v4.0.30319\regasm EPPlus.dll 

It was correctly registered (I got this info from https://www.codeproject.com/Articles/19535/NET-COM...). Now I'd like to use this object in my code, but I found no instructions. I tried with:

Set ExcelBook = CreateObject("OfficeOpenXml") 

and also with

Set ExcelBook = CreateObject("ExcelPackage") 

but I cannot find the right name to use.

Anyone can help please? Thank you! wink

RE: Classic ASP and generation of Excel files without Office

This isn't a COM automation library. It is a .NET assembly and does not, to the best of my knowledge, include any COM interop; you therefore cannot use it from VBScript

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close