refreshall with vba

  1. N

    VBA Pivot Code Erroring Out...quick help?

    Can you direct me as to why? Would be much appreciated! Nick Sub ALL() Dim wBook As Workbook Dim wSheet As Worksheet Dim Pwd As String Pwd = "password" Application.ScreenUpdating = False For Each wBook In Workbooks 'Unprotect all sheets at once For Each wSheet In wBook.Worksheets...
  2. K

    Web Query

    Hi all. I'm trying to work through a macro that starts by updating web queries with a data refresh. This imports data into my spreadsheet. The next lines of code loop through it. Right at the refresh I get: "This action will cancel a pending refresh data command. Continue?" It almost seems...

Some videos you may like

This Week's Hot Topics