Automating CSV update received in email

strangerobot

New Member
Joined
Oct 9, 2020
Messages
6
Office Version
  1. 2010
Platform
  1. Windows
Hi Excel experts!

I have a question on whether the following action is possible. I want to automate my product inventory update from my supplier (without needing to leave my computer on). They send me a csv file every day with their current stock levels. Is there a way for:

- the csv file from supplier gets downloaded into the cloud automatically from email
- the csv file in the cloud to run a VBA macro that I have to update information and format
- the updated csv file gets hosted on a link, where my import plugin can download the csv file from and update my store stock levels

If this is possible, can you point me toward the right direction please as I am not fluent and not sure what these "actions" are called.

Thank you for your time! :)
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

pjmorris

Well-known Member
Joined
Aug 2, 2012
Messages
1,988
Office Version
  1. 2016
Platform
  1. Windows
The simple answer is yes. You need to use PowerQuery: on the 'Get & Transform' tab of the Data Ribbon, select 'New Query', 'From File', 'From Folder'. Then navigate to your cloud folder and Import the data. Whenever the folder is updated a 'Refresh' of your spreadsheet will grab the new data.

I wouldn't try to use VBA its much too difficult to maintain.

HTH
 

Watch MrExcel Video

Forum statistics

Threads
1,127,536
Messages
5,625,390
Members
416,099
Latest member
sudarsan23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top