K
Karen A Hodge
I have a website that has an Excel template. The template contains 3
QueryTables. The template is located on the web server. I would like to
refresh the data prior to the user opening the template from the website.
This is the code:
wb = excelApp.Workbooks.Add(FilePath)
wb.RefreshAll()
wb.Save()
excelApp.Quit()
.... User opens template
The problem is that the user is prompted for a UserName and Password. It
must be a permission issue because when I run from development in debug, I
do not get a prompt.
How do I get around this? I have given everything but full control on the
folder to the ASPNET account and anything else that look like ASP--I still
get the message.
Thanks in advance.
Karen
QueryTables. The template is located on the web server. I would like to
refresh the data prior to the user opening the template from the website.
This is the code:
wb = excelApp.Workbooks.Add(FilePath)
wb.RefreshAll()
wb.Save()
excelApp.Quit()
.... User opens template
The problem is that the user is prompted for a UserName and Password. It
must be a permission issue because when I run from development in debug, I
do not get a prompt.
How do I get around this? I have given everything but full control on the
folder to the ASPNET account and anything else that look like ASP--I still
get the message.
Thanks in advance.
Karen