+ Reply to Thread
Results 1 to 5 of 5

VBA to auto update when opening a workbook

  1. #1
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    VBA to auto update when opening a workbook

    Hi,

    When I run the below code on certain workbooks it stops the macro and asks if I would like to update the workbook, how can I make it so it automatically selects yes or no within this formula.

    Once again thanks in advance for the help.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: VBA to auto update when opening a workbook

    at the end add
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: VBA to auto update when opening a workbook

    At the end just above end sub?

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: VBA to auto update when opening a workbook

    yes so before it closes it calculates and states the norm to automatic

    you could use application.calculate too

  5. #5
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: VBA to auto update when opening a workbook

    ok thank you, I will give it a try.

+ 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. how to update a similar sheet in a different workbook without opening that workbook
    By hattisaeed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2011, 02:05 AM
  2. Update another workbook without opening
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2010, 02:02 PM
  3. Auto update calculation upon opening file
    By The Phil in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-16-2010, 11:41 AM
  4. Turn off auto update on opening
    By tuph in forum Excel General
    Replies: 1
    Last Post: 02-01-2007, 06:30 PM
  5. Auto Update the formula values without opening the link worksheets
    By Siva in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2006, 07:35 AM

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