Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Running Excel from a Server

A possible idea:
I assume all activity is initiated in the workbook_open event. Have the
workbook_open event look at application.Path. If it doesn't match the
server, have it exit the sub. Or you might have a unique environment
variable on the server which you can check with the Environ function.

--
Regards,
Tom Ogilvy

ibeetb wrote in message
...
Sorry if I wasn't clear. Hope you will get this and I would have explained
it better.

I have an excel spreadhseet which I have run automatically at 11 PM every
night on a server. I want various users to view the spreadsheet - actually
they will NOT have to run it, because it runs and grabs its data at night,
by itslef-automatically.
What I need, is for the macros to NOT be enabled when they open it because
when macros are enabled and they open it, they get errors that they are
missing certain activex objects. So my real question I guess is....how can

I
diable the macros in code or what do I need to do in order that they may
open and view the sprdsht without getting the errors, yet I need to have

the
macros enabled during the night when the report runs on the server
automatically.....

Thanks


"Tom Ogilvy" wrote in message
...
Generally, excel runs locally - so they would access the file from a

drive
on the server and run it locally. In that case, the local machine would
need to have all referenced ActiveX objects.

It is unclear what you are proposing.

--
Regards,
Tom Ogilvy

ibeetb wrote in message
...
I have a couple of Excel spreadsheets that contain quite a bit of VBA

and
ActiveX objects. I want to put them on a shared server and have others
access them from the server. What do the users who will access this

need
to
have on their PCs? Do they need to have the activex objects on their

client
or does the server just need this?
Will the user just be able to open and run the report from their

client?

Thanks








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
Excel and SQL Server Rob Excel Discussion (Misc queries) 1 May 5th 10 07:18 PM
SQL Server -- Bulk Insert from Excel to SQL Server Madhan Excel Discussion (Misc queries) 0 December 12th 06 03:08 PM
Excel 2003 Error Cannot Locate the Internet Server or Proxy Server Seabee Excel Discussion (Misc queries) 0 November 20th 05 12:03 AM
with new print server, excel running slow intermittently Mcmaineacjam Excel Discussion (Misc queries) 1 August 31st 05 03:09 PM
problem updating link from Novell server to windows server #REF er Ellen Excel Discussion (Misc queries) 0 May 10th 05 09:18 PM


All times are GMT +1. The time now is 09:31 AM.

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

About Us

"It's about Microsoft Excel"