Mass-pasting Microsoft Excel worksheets into Microsoft Word - excel

TL;DR: Need to paste mass data as image into a single doc.
Hi, I'm helping to compile monthly Management and Governance Reports consisting of 150+ pages, half of which are screenshots of 'dashboards' created in Excel 2010. Each dashboard is in its own file, located in a monthly folder on a shared drive. No sheet or file protection exists.
The current process is to open each Excel file, highlight the print area in the first sheet (usually called "Report", but not always saved as the visible sheet), copy, then paste as image into a template in Word 2010 (raw pasting would require a lot of resizing). Each image takes up exactly one A4 page in Word.
It currently takes many hours of ridiculously tedious copy-pasting, and I'd love to preserve the sanity of the poor responsible soul.
I'm not too familiar with VBA, and I've tried recording a macro to no avail.
Any suggestions?
Thanks, Alex

Related

Using a Macro to update daily statements in a master file from a saved location

I am looking to add a macro button into my summary sheet of my master file. The main tab will have a summary of the values, then there will be 5 other tabs named initial,1,2,3,4.
The tabs initail - 4 are just financial statements that have been pasted into the file.
I basically want to have a button on the cover that will update the data in the initial - 4 sheets with the new data for the current day. The current day files will be saved down in a separate daily folder each day in the same path. The new files will be consistently laid out and formatted the same. So I would simply need the macro to pull the files from todays date file path and paste the files into the corresponding tabs of the spreadsheet. The files can be saved down under the corresponding names of the tabs.
I have tried looking for help online but can’t see anything that would apply. I feel it is fairly simple however I have no experience working with VBA code only recording macros. Any help would be massively appreciated.
Thanks in advance

How to append one excel file as a sheet onto another excel file in alteryx

so I have about 90 different excel files that are customer reports. I have one generic excel file that's a summary page that I need to insert as a sheet into all of those other excel files. Does anyone have a way to automate this process - I'm generating the sheets through alteryx but open to solutions outside of that platform or maybe there's a simple way to do it through Excel that I'm missing.
Right now, the only option is to open each report and copy over the summary sheet and insert it that way. To do it for 90 sheets would take me over an hour so trying to shorten the time.

Pre-populating PowerPoint file with Excel input

I am currently in the following situation:
I have an Excel file where I perform calculations and charts + diagrams are created based on the calculations.
I have a PowerPoint report where I have to copy-paste these visualizations into.
I will need to repeat this process for many Excel files, all containing the same lay out. You can view them as a questionnaire: each Excel file is completed with different answers, though the structure remains the same.
Is there a way for me to create a template PowerPoint report file, where at the start I select which Excel file to 'load', and it pre-populates my PowerPoint file with the correct charts from the selected Excel file?
ndeed, there is a free option available. With SlideFab 2 (lite) you can automate Excel to Powerpoint without coding: You would need to setup the Powerpoint template and link all shapes with the required Excel ranges or charts. Then SlideFab creates the slides for you. When the structure is really the same, you could just let SlideFab connect to the next Excel file and rerun the slide-making process again.
You could also consider using RDBmerge to collect all workbook sheets into one Excel and using formulas to create a kind of staging area which is used for linking with Powerpoint. This would have the benefit that when you iterate a list of worksheet names, your lookup (e.g. using vlookup or index/match) functions would grab the appropriate data into the staging area. SlideFab could then create all slides at once through changing the selected worksheet in a repetitive way.
In case of questions, feel free to reach out.
Disclaimer: I am the owner of SlideFab 2.
Cheers
Jens

How to import the same txt file (That updated daily) to Excel

I have a txt file that automatically do updates in a daily bases, I have to open that txt file in Excel (Delimited) and review the data.
What is the way to make Excel automatically import that specific txt file?
Or in another words: I need to Double click on a saved Excel file and it will automatically import that specific txt file (instead of doing File->open->Browse...)
Thanks!
This should work
http://www.jkp-ads.com/Articles/importtext.asp?AllComments=True
In case you are getting your data from sql or any other data source , you can update the data connections in EXCEL
Just Open the excel file and hit refresh
What version of Excel do you have? If you have Excel 2016 or later, you can use the new functionality under the 'Get and Transform' tab to do this really easily. In previous versions, you can download the free Microsoft "PowerQuery" addin that was the forerunner for this. It was previously a separate add-in called PowerQuery, and is now bulk standard in Excel.
There's many excellent walkthroughs on the internet showing this exact type of activity. Google "PowerQuery" and put a date filter on your results to show just the last year, as the functionality is constantly being updated. Add "Ken Puls" to your search term, and see what bubbles to the top. Then replace Ken "Mike Girvin" or "ExcelIsFun" and you should see like a zillion excellent tutorials on PowerQuery. Try "ExcelCampus" too, as Jon has great tutorials, as does "Chandoo". Also replace PowerQuery with "Get and Transform" and repeat those same searches.
PowerQuery is simple to learn, and lets you do stuff just by "muddling through" that would otherwise take a year or more to learn if you wanted to pick up VBA.
It acts like a user-friendly macro recorder, only unlike the macro recorder it spits out reusable code that doesn't have hard coded references in it, meaning all you need to do his hit Refresh.

Exporting contents of emails to Excel/Google Sheets

I have quite a few emails that come in on a regular basis with the same email subject (around 10-20 a day) that all follow a set format, and then are manually being entered onto a Google Sheet for Sales staff to access.
Ideally, if I could cut this out of my morning routine it would make my life a lot simpler.
What would be the best way to search Outlook by subject line, and then export the relevant data to an Excel worksheet, so that all I would have to do is import that .xls file onto the shared sheet?
You may consider developing a VBA macro or add-in if you need to install the solution on multiple PCs. See Getting Started with VBA in Outlook 2010 for more information.

Resources