Security Startup Dialog



I'm changing from excel to using an html page to open tons of db at
work.
After reading tons of posting about this subject, for simplicity sake
I need the code to run on startup, to change the security settings to
low, so users don't get the message "Some files can harm your
computer". any way I founds this: which I put on the load of the
switchboard; using 97 still. I do NOT get this error when using excel
to open db, just html. Since there are tons of users and db, having
users change their security setting to low in not an option.

dim o
set o=createobject ("Access.Application")
o.automationsecurity=1 ' set macro security LOW.
o.opencurrentdatabase "full path to your database"
o.visible=true
o.usercontrol=true
set o=nothing

when it reaches
set o = createobject ("access.application") I get a run-time 438
object doesn't support this property or method.
Any idea how to get this to run, or alternative code. help would
greatly be appreciated
.



Relevant Pages

  • Re: File attachment folder
    ... I know that - but he accepts this as the equivelent of MS. ... When he does the file "save as" thing, it shows tons of Excel ... accept that as advice directly from Microsoft and satisfy his curiosity. ...
    (microsoft.public.outlook)
  • Re: "not enough resources available "
    ... spreadsheets, ranging in complexity from very simple tables (without ... tons of charts. ... Day 1 after we moved to Excel 2007, ... "Don Guillett" wrote: ...
    (microsoft.public.excel.misc)
  • Re: AVERAGEIF equivalent in excel 2000
    ... I have a spreadsheet that has tons of data generated daily Column A is ... IN Excel 2007 I am using AVERAGEIF command. ...
    (microsoft.public.excel.misc)
  • AVERAGEIF equivalent in excel 2000
    ... I have a spreadsheet that has tons of data generated daily Column A is ... IN Excel 2007 I am using AVERAGEIF command. ...
    (microsoft.public.excel.misc)
  • Re: converting html to plain text
    ... The actual example will be more complicated with tons of HTML ... and convert it into plain text. ... undesirable formatting for the human eye, but I am willing to live ...
    (alt.html)