+ Reply to Thread
Results 1 to 9 of 9

macro to open excel file with auto macro enable

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    macro to open excel file with auto macro enable

    In my excel sheet, I have created 10 buttons and I want to link those buttons to open different excel sheets (auto macro enable) in different location so I can work with instead of going here and there everyday.

    Anyone have this macro?

    Regards,

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: macro to open excel file with auto macro enable

    If you are asking for code that will open an excel sheet and force macros to be enabled, I don't think this is possible.

  3. #3
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: macro to open excel file with auto macro enable

    I see... I think it is security issue.

    Then any code that can open a excel sheet?

    Regards,

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: macro to open excel file with auto macro enable

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: macro to open excel file with auto macro enable

    Any code to open a folder instead?

    Regards,

  6. #6
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: macro to open excel file with auto macro enable


  7. #7
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: macro to open excel file with auto macro enable

    Thanks for the help ragulduy, but I forgot to specify that my folder is located on a http server folder such \\[domain_name.net\work\

    Any working code out there?

    Regards

  8. #8
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: macro to open excel file with auto macro enable

    Shouldn't make a difference.

    The code would just do the same as typing whatever address you put in the explorer bar. I've tried it with ftp, http and network drives and all seems ok.

    How would you normally access the server folder?

  9. #9
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: macro to open excel file with auto macro enable

    Thanks ragulduy, it is working perfectly. I removed the 1st part of the script wtihout notifying. Sorry, my bad.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A macro to auto open and auto close a file with time schedule
    By billj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2015, 06:01 AM
  2. [SOLVED] Automatically Enable Macro when file open.
    By Jack40 in forum Excel General
    Replies: 6
    Last Post: 12-21-2012, 03:00 AM
  3. Excel 2007 : Auto Open File with Macro
    By OrangeBoy in forum Excel General
    Replies: 2
    Last Post: 10-14-2011, 05:23 AM
  4. [SOLVED] Macro to call a file that has a auto open macro in the file itself
    By arvinsison@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2005, 02:05 AM
  5. Auto run macro on *.csv file open
    By CP Poe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2005, 03:06 PM

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