Link to home
Start Free TrialLog in
Avatar of 3XLcom
3XLcom

asked on

combine excel files vb.net

I want to combine multiple excel tables into one excel file with datasheets
how should i do it ?

thanks
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

it will be a job of copy and paste and because you are using ASP.Net, I strongly suggest to use 3rd party tool like http://www.aspose.com/categories/.net-components/aspose.cells-for-.net/default.aspx (instead of Office Automation)
ASKER CERTIFIED SOLUTION
Avatar of jagssidurala
jagssidurala
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 3XLcom
3XLcom

ASKER

should i use an url instead of filename at here : xlApp.Workbooks.Open(filename) ?
because other parts also creating by program dynamically ?
Here file name represents the file in the physical folder.  i don't know exactly whether we can use url or not. what is the problem to specify file name in your dynamic program.
3XLcom
What to use for the filename depends on where the file is located,
In Excel VBA you can use URL's but I've rarely seen that and I don't know what the VB.NET position woud be on the subject.
Where does the dynamic thing come into it? What is being created dynamically?
Avatar of 3XLcom

ASKER

yes it is creating dynamically by a generic handler and writing on a page as a xls mime type
Avatar of 3XLcom

ASKER

Sorry
Avatar of 3XLcom

ASKER

Sorry i forget that comment help me to solve the question