+ Reply to Thread
Results 1 to 3 of 3

Refresh Connections then Pivots

Hybrid View

RollingStone88 Refresh Connections then... 04-17-2020, 04:45 AM
Pepe Le Mokko Re: Refresh Connections then... 04-17-2020, 08:08 AM
RollingStone88 Re: Refresh Connections then... 04-17-2020, 11:30 AM
  1. #1
    Registered User
    Join Date
    11-26-2013
    Location
    .
    MS-Off Ver
    Excel 2010
    Posts
    33

    Refresh Connections then Pivots

    Hello.

    I'm looking for a macro which does the following in the following order:

    1. Updates Cell B2 on three worksheets names ('A','B' and 'C') with a =NOW() formula (to give a snapshot of when data has been refreshed).
    2. Refreshes the workbook connections to SQL server.
    3. Refreshes a single pivot table called 'LISTED' on a tab named 'PIV'

    Many thanks for any help.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Refresh Connections then Pivots

    Some suggestions you may fund useful:
    1. Our answerers are looking to "help" more often than they are looking to "do an entire project for you for free".
    2. Jump into this project yourself, when you get stuck on ONE specific hurdle, post that ONE item as a forum question.
    3. Show us what you've tried in an attached sample workbook and how it's not working for you. When you're doing the work yourself, just writing out a complete example question in a forum often points you to solution before you even finish posting.
    4. If you can't make any headway at all and no help is forthcoming in the free forum(s), we do have a Commercial Services forum where you can pay for assistance directly from our EF gurus."

  3. #3
    Registered User
    Join Date
    11-26-2013
    Location
    .
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Refresh Connections then Pivots

    Sorry Pepe - I work in a hospital and am trying to make a few of our planning tools a bit easier for the clinicians to use and have some live data. I was rushing / wrongly assumed that what I was asking was going to be a very quick job for someone more skilled, but will give it a go over the weekend.

+ 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. ActiveWorkbook.Connections refresh error
    By chriscla in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-02-2019, 08:40 AM
  2. [SOLVED] Macro to refresh connections and add formulas
    By PWNHS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-02-2018, 05:25 AM
  3. Macro to refresh SQL queries and refresh pivots
    By lora2014 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2016, 04:45 PM
  4. Refresh All vs. Refresh All Data Connections
    By TK92 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-22-2016, 09:14 AM
  5. [SOLVED] VBA To Refresh ALL Pivots
    By Miskondukt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2014, 08:40 PM
  6. Distributing Pivots and ODBC connections
    By BrewinPhx in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-31-2013, 12:42 PM
  7. Refresh Specific Sheets/ Connections
    By hyp3rbola in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2013, 04:50 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