+ Reply to Thread
Results 1 to 4 of 4

making code/macros autoload when opening workbook?

  1. #1
    Registered User
    Join Date
    10-22-2007
    Posts
    39

    making code/macros autoload when opening workbook?

    I do a lot of excel spreadsheets for work to monitor stuff and I distribute those sheets to the rest of management. Well not everyone who receives the spreadsheets is computer literate or know how to change the macro security settings. So how can I get vB code that I enter on the worksheets to load automatically when someone else opens up the sheets?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    You can't change a user security settings....this is what a hacker would try to do.

    So the best you can do is force the user to enable macro's to view the workbook (see links)

    http://www.cpearson.com/excel/EnableMacros.aspx

    http://www.vbaexpress.com/kb/getarticle.php?kb_id=578

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474
    besides setting security to minimum, there isn't a way...

  4. #4
    Registered User
    Join Date
    10-22-2007
    Posts
    39
    Those should work, thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1