Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Running from web error

I have an Excel 2000 .xls file that runs fine from a
desktop. I just tried to run it from a web server within
our intranet system; openning it from IE. I have two
errors occurring so far.

Application.DisplayAlerts = False
Displays an Error 1004; Method Failed
Is there another way to surpress alerts?

Upon trying to load an external file using a macro it can
not find the file.
Displays an Error 1004; Method Failed
Loading file from my C: harddrive.

fname = Application.GetOpenFilename("Excel Files ....
Workbooks.Open FileName:=fname

Typical file name:
'fname = "C:\Documents and Settings\BIP.xls"

Is there a file naming convention that will get to the
file I want? Tried adding "file://" to the front of the
file name.

Suggestion?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 400 when running Macro Jim@Tech Excel Discussion (Misc queries) 3 October 20th 08 05:35 PM
Div/0 error on running mean % ferde Excel Discussion (Misc queries) 2 October 4th 08 02:40 AM
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable Enda80 Excel Worksheet Functions 1 May 3rd 08 02:35 PM
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable Enda80 Excel Discussion (Misc queries) 1 May 3rd 08 10:52 AM
Error Running a Macro viddom Excel Discussion (Misc queries) 3 July 28th 05 01:56 PM


All times are GMT +1. The time now is 05:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"