All Projects → IvanBond → Power-Refresh-VBScript

IvanBond / Power-Refresh-VBScript

Licence: MIT license
Visual Basic Script Refresher for Excel files with Power Query and PowerPivot model

Programming Languages

Visual Basic .NET
514 projects

Projects that are alternatives of or similar to Power-Refresh-VBScript

Pull To Refresh
ESPullToRefresh is developed and maintained by Vincent Li. If you have any questions or issues in using ESPullToRefresh, welcome to issue. If you want to contribute to ESPullToRefresh, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 1,591 (+8738.89%)
Mutual labels:  refresh, refresher
VBA-and-Excel-Books-and-PDFs
Personal collection of vb.net, .net, vba and other books regarding vb programming
Stars: ✭ 83 (+361.11%)
Mutual labels:  excel, vbs
XToolset
Typed import, and export XLSX spreadsheet to JS / TS. Template-based create, render, and export data into excel files.
Stars: ✭ 110 (+511.11%)
Mutual labels:  excel, workbook
Power-Refresh
Schedule refresh of any Excel file using open-source scheduler & refresher written on VBA
Stars: ✭ 55 (+205.56%)
Mutual labels:  excel, refresher
Power-Query-Excel-Formats
A collection of M code to get various formats from Excel sheets in Power Query
Stars: ✭ 43 (+138.89%)
Mutual labels:  excel, workbook
financial-forecast
Personal Financial Forecasting Model
Stars: ✭ 24 (+33.33%)
Mutual labels:  excel, workbook
Crema
Meta data server & client tools for game development
Stars: ✭ 61 (+238.89%)
Mutual labels:  excel
latex2excel
Converts LaTeX tables to Excel worksheets for easy manipulation
Stars: ✭ 23 (+27.78%)
Mutual labels:  excel
Excel2Object
excel convert to .NET Object | Excel与.NET 对象进行转换,支持公式、多Sheet等功能
Stars: ✭ 35 (+94.44%)
Mutual labels:  excel
awesome-georgian-datasets
Useful datasets, specific to Georgia
Stars: ✭ 47 (+161.11%)
Mutual labels:  excel
BulkPDF
BulkPDF is a free and easy to use open source software, which allows to automatically fill an existing PDF form with differen values. Only a spreadsheet (Microsoft Excel 2007/2010/2013, LibreOffice or OpenOffice Calc) with the desired values is required.
Stars: ✭ 94 (+422.22%)
Mutual labels:  excel
VBA-Import-Export
Export & Import VBA code for use with Git (or any VCS)
Stars: ✭ 14 (-22.22%)
Mutual labels:  excel
VBA personal
Library with VBA, used in multiple projects.
Stars: ✭ 104 (+477.78%)
Mutual labels:  excel
umya-spreadsheet
A pure rust library for reading and writing spreadsheet files
Stars: ✭ 79 (+338.89%)
Mutual labels:  excel
excel2javabeans
convert excel rows to javabeans and vice visa
Stars: ✭ 16 (-11.11%)
Mutual labels:  excel
r4excel users
Бесплатный видео курс "Язык R для пользователей Excel"
Stars: ✭ 14 (-22.22%)
Mutual labels:  excel
robotframework-excel
Robot-framework auto-test excel
Stars: ✭ 15 (-16.67%)
Mutual labels:  excel
xlsx-calc
javascript nodejs excel formula parser
Stars: ✭ 83 (+361.11%)
Mutual labels:  excel
spark-hadoopoffice-ds
A Spark datasource for the HadoopOffice library
Stars: ✭ 36 (+100%)
Mutual labels:  excel
vue-willtable
An editable table component for Vue.js 2.0
Stars: ✭ 119 (+561.11%)
Mutual labels:  excel

Refresher for Self-Service BI solutions based on Excel

Visual Basic Script (VBS) refresher for Excel files with Power Query and PowerPivot model, helping to update workbooks in automated way (+ can be scheduled). In addition, some useful VBS files that can be used in Excel-based reporting.

This is an open-source refresher that is aimed to optimize self-service Excel solutions on Windows workstations

  • without administator rights

  • without buying additional software

only Excel is needed.

Typically, reporting specialists are interested in automated way of reports preparation. When reports are done as Excel files with

  • Power Query queries pulling data from external source +

  • Data Model (aka PowerPivot) to digest data +

  • Pivot Tables, Pivot Charts etc. based on Data Model data

developer needs a way to refresh all this content in a workbook.

Imagine situation when reports developer has 50 Excel models or more. Would be great if they can be refreshed during night, once per day, every hour - in other words - follow to schedule. Several models can be refreshed in same time in separate Excel applications on same computer.

Add requirement to refresh same data model for different groups of people. Each group must see only relevant data. I call this 'data scope'. As shared Excel workbook provides full access to data model - queries must populate Data Model with only data that are in 'Scope'.

Basic idea of refresh is pretty simple. Refresher must

  • Create new instance of Excel application

  • Open workbook provided in parameter

  • Run ThisWorkbook.RefreshAll (queries must be configured in a proper way)

  • Save workbook

  • Quit / Kill Excel process

that's all.

But this is only basics. However, basics are not always match specific needs of someone. Some want to run macro before RefreshAll, or instead of RefreshAll they want to refresh chain of PQ queries in defined order, or run macro after RefreshAll, or something else. In Self-Service BI area we can find endless number of scenarios. Having open-source refresher, analysts can adjust it for their needs as they usually know VBA.

Workstation with Windows is considered because then it is possible to use Task Scheduler without buying any additional software. Purchase (or installation) of software can be a problem for many specialists due to strict IT policy.

Nothing should stop Self-Service BI developers :-). That's why this project is done in Visual Basic Script. VBS is very similar to VBA, which is usually 'must-have' skill for reporting specialist. There are a lot of samples on the Internet how to convert VBA to VBS, how to run VBA from VBS and vice versa.

Therefore, basic script from this project can be adapted to particular needs easily by those who are familiar with VBA/VBS.

How to use

  1. Create folder 'Power Refresh' on C:\ drive

  2. Download all project files to this folder

  3. Read Instruction in 'Refresher.vbs' to understand logic, Report vs Data Transfer, and Scopes concept

  4. Launch Refresher.vbs from command line or via scheduled task in Task Scheduler

You get update Power Query queries and PowerPivot model on schedule.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].