Results 1 to 2 of 2

Thread: SUMIF for closed workbook
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Mar 2019
    Post Thanks / Like
    0 Post(s)
    0 Thread(s)

    Default SUMIF for closed workbook


    We have several target sheets that run using the formula below. I have been told that they always used to work without having the source book open but from researching online i dont see how it was possible as they have always been using sumif. could you have a look at the formula below and see how we could make it work without needing to have the source workbook open? Minimal changes would be fantastic as we have about 1000 spreadsheets that we would need to change this on.

    Many thanks


    Many thanks

  2. #2
    Board Regular
    Join Date
    Mar 2015
    Post Thanks / Like
    72 Post(s)
    7 Thread(s)

    Default Re: SUMIF for closed workbook

    Perhaps the workbook was opened via VBA to allow formula to be updated and immediately closed again via VBA and "they" did not notice that happening

      Dim wb As WorkBook
      Set wb Workbooks.Open("T:\Folder1\SubFolder1\SubFolder2\workbook.xlsx")
      wb.Close False
    Last edited by Yongle; Mar 29th, 2019 at 05:58 AM.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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