Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default diabling the macro alert in opening files

I have scheduled a task in my computer for opening a workbook at a particulr
time and run the macro in thisworkbook.open event in that workbook
the macro was designed by me so there is not much chance of getting an
external virus. in those circumstances i would like to run the schedule and
the computer should not ask whether to enable the macros.


.. I understand that displayalerts=false works only after the macro starts
to run. and not while opening the file.and before running the macro


any suggestions.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default diabling the macro alert in opening files

Change your macro security settings to low???

"R.VENKATARAMAN" wrote:

I have scheduled a task in my computer for opening a workbook at a particulr
time and run the macro in thisworkbook.open event in that workbook
the macro was designed by me so there is not much chance of getting an
external virus. in those circumstances i would like to run the schedule and
the computer should not ask whether to enable the macros.

. I understand that displayalerts=false works only after the macro starts
to run. and not while opening the file.and before running the macro

any suggestions.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default diabling the macro alert in opening files

Save your code as an addin

Depending on the file you need to access you may need to have the addin in
one file and the "data" in another, your task opens the addin which acts on
the Data file with or without opening it.

using the addin format is like registring the code as acceptable on your
machine

"R.VENKATARAMAN" wrote:

I have scheduled a task in my computer for opening a workbook at a particulr
time and run the macro in thisworkbook.open event in that workbook
the macro was designed by me so there is not much chance of getting an
external virus. in those circumstances i would like to run the schedule and
the computer should not ask whether to enable the macros.


.. I understand that displayalerts=false works only after the macro starts
to run. and not while opening the file.and before running the macro


any suggestions.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default diabling the macro alert in opening files

thank you very much. I have added an addin and if I uncheck this addin and
again chek it the data file opens and it runs the macro without asking
whether to enable macros . ok
i know how to schedule an excel file to open(windows 98SE). how to schedule
an addin





"Vacation's Over" wrote in message
...
Save your code as an addin

Depending on the file you need to access you may need to have the addin in
one file and the "data" in another, your task opens the addin which acts

on
the Data file with or without opening it.

using the addin format is like registring the code as acceptable on your
machine

"R.VENKATARAMAN" wrote:

I have scheduled a task in my computer for opening a workbook at a

particulr
time and run the macro in thisworkbook.open event in that workbook
the macro was designed by me so there is not much chance of getting an
external virus. in those circumstances i would like to run the schedule

and
the computer should not ask whether to enable the macros.


.. I understand that displayalerts=false works only after the macro

starts
to run. and not while opening the file.and before running the macro


any suggestions.





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
Opening Files - Macro Max2073 Excel Worksheet Functions 1 December 10th 09 06:06 AM
Opening Files Using a Macro Mark Costello[_2_] Excel Discussion (Misc queries) 0 January 29th 08 03:48 PM
Macro for opening files that changes names [email protected] Excel Discussion (Misc queries) 1 May 12th 07 06:15 PM
opening multiple files from within a macro Srikanth[_6_] Excel Programming 7 November 16th 04 07:13 PM
Opening CSV files with VBA/macro Vasco[_2_] Excel Programming 3 August 12th 03 12:18 PM


All times are GMT +1. The time now is 11:52 PM.

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"