473,425 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,425 software developers and data experts.

Enable Macros automatically but only in a scheduled event

I make and run macros all the time - now I need to schedule some reports to refresh from my machine round the clock. Problem is in order for the macros that do all my refreshing won't run unless I do one of 2 things - either reduce my security settings to low or actually click the button "enable macros".

If i re-set the security settings - I cannot get to the macro's to edit them if need be (they automatically close the application) Is there a way to force the code to stop once it's running outside the test environment? I would actually like to be able to see the report to make sure it's running properly from time to time.

I don't want to have to work 24 hours a day and come in and click the button every time it refreshes....

so is there a way to build into the excel document - that if no button is pushed - that it automatically will enable macros? (this would be the best option)



Thanks!
Nov 8 '07 #1
3 2064
SammyB
807 Expert 512MB
You just need to sign your macros so that you can run them at your security level. Looks like http://www.excelsig.org/Tips/0409_di...rtificates.htm has a lot of links to how this is done. It's probably hard to figure out the first time, but easy after that. HTH --Sam
Nov 8 '07 #2
You just need to sign your macros so that you can run them at your security level. Looks like http://www.excelsig.org/Tips/0409_di...rtificates.htm has a lot of links to how this is done. It's probably hard to figure out the first time, but easy after that. HTH --Sam


Thanks! I'll Check it out!
Nov 8 '07 #3
Killer42
8,435 Expert 8TB
Thanks! I'll Check it out!
So, how did it work out?
Nov 28 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tom | last post by:
Hi, I have a problem because I don't know how to start my script automatically after a special event happens. In detail: I store data from a PLC. Every 30 seconds the data is stored in a new...
11
by: Peter Neumaier | last post by:
Hi! I scheduled a DTS-Import from MySQL, whenever I run it manually (Right-Click on the DTS package) it runs through without any problems. But firing it by a schedule doesn't work!? Just to...
11
by: Ben Hetland | last post by:
....in certain cituations they can be useful if not for anything else, then at least for saving a lot of repetetetetetitititive typing. :-) Beyond the point of "do something better instead", I'm...
1
by: Tom Gribbin | last post by:
If anyone could help me out here I would be eternally grateful. I have scheduled a data I am using to retrive some information that I require every day at a set time into a single excel...
0
by: Satish | last post by:
Scheduled Tasks (.Net ) does not run when server is logged off (Windows 2003): I have a .net executable (command line exe) which performs certain business operations. I can run the program...
2
by: Stefan Kuhr | last post by:
Hello everyone, I hope this is not an FAQ and that somebody can answer this: As part of our webservice installation we run aspnet_regiis.exe -ir -enable on computers where the web...
2
by: mscurto | last post by:
Is there a way to set up access to open and run a query in a particular database at a particular time each day? This would be run from a Windows 2000 desktop.
7
by: whutto | last post by:
I have a VB.NET app that crashes when run from the Windows scheduled tasks, but runs fine when the run-as user is logged on. The app also runs fine from the scheduled jobs if the run as user is...
3
by: raghulvarma | last post by:
Consider the following scenario. Currently a .Net application is used to generate reports. The end user needs the reports twice in a day.So he runs the application at scheduled time for report...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.