├── 01_extract-values ├── ChatGPT_Prompt.txt ├── consolidated.xlsm └── input │ ├── file1.xlsx │ ├── file10.xlsx │ ├── file2.xlsx │ ├── file3.xlsx │ ├── file4.xlsx │ ├── file5.xlsx │ ├── file6.xlsx │ ├── file7.xlsx │ ├── file8.xlsx │ └── file9.xlsx ├── 02_email-tool ├── ChatGPT_Prompt.txt ├── attachments │ ├── file1.xlsx │ ├── file2.xlsx │ └── file3.xlsx └── email_distribution_tool.xlsm ├── 03_find-replace-values ├── ChatGPT_Prompt.txt ├── Input │ ├── Canada.xlsx │ ├── France.xlsx │ ├── Germany.xlsx │ ├── Mexico.xlsx │ └── United States Of America.xlsx ├── Output │ ├── Canada.xlsx │ ├── France.xlsx │ ├── Germany.xlsx │ ├── Mexico.xlsx │ └── United States Of America.xlsx └── find_and_replace.xlsm ├── 04_build-a-report ├── ChatGPT_Prompt.txt └── Financial_Data.xlsm └── README.md /01_extract-values/ChatGPT_Prompt.txt: -------------------------------------------------------------------------------- 1 | Here is the chat history for the task: https://chatgpt-static.s3.amazonaws.com/chats/op58624.html -------------------------------------------------------------------------------- /01_extract-values/consolidated.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/consolidated.xlsm -------------------------------------------------------------------------------- /01_extract-values/input/file1.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file1.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file10.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file10.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file2.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file2.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file3.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file3.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file4.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file4.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file5.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file5.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file6.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file6.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file7.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file7.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file8.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file8.xlsx -------------------------------------------------------------------------------- /01_extract-values/input/file9.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/01_extract-values/input/file9.xlsx -------------------------------------------------------------------------------- /02_email-tool/ChatGPT_Prompt.txt: -------------------------------------------------------------------------------- 1 | Here is the chat history for the task: https://chatgpt-static.s3.amazonaws.com/chats/zj76993.html -------------------------------------------------------------------------------- /02_email-tool/attachments/file1.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/02_email-tool/attachments/file1.xlsx -------------------------------------------------------------------------------- /02_email-tool/attachments/file2.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/02_email-tool/attachments/file2.xlsx -------------------------------------------------------------------------------- /02_email-tool/attachments/file3.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/02_email-tool/attachments/file3.xlsx -------------------------------------------------------------------------------- /02_email-tool/email_distribution_tool.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/02_email-tool/email_distribution_tool.xlsm -------------------------------------------------------------------------------- /03_find-replace-values/ChatGPT_Prompt.txt: -------------------------------------------------------------------------------- 1 | Here is the chat history for the task: https://chatgpt-static.s3.amazonaws.com/chats/tj68259.html -------------------------------------------------------------------------------- /03_find-replace-values/Input/Canada.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Input/Canada.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Input/France.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Input/France.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Input/Germany.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Input/Germany.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Input/Mexico.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Input/Mexico.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Input/United States Of America.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Input/United States Of America.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Output/Canada.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Output/Canada.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Output/France.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Output/France.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Output/Germany.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Output/Germany.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Output/Mexico.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Output/Mexico.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/Output/United States Of America.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/Output/United States Of America.xlsx -------------------------------------------------------------------------------- /03_find-replace-values/find_and_replace.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/03_find-replace-values/find_and_replace.xlsm -------------------------------------------------------------------------------- /04_build-a-report/ChatGPT_Prompt.txt: -------------------------------------------------------------------------------- 1 | Here is the chat history for the task: https://chatgpt-static.s3.amazonaws.com/chats/ci14604.html -------------------------------------------------------------------------------- /04_build-a-report/Financial_Data.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sven-Bo/automate-excel-with-vba-and-chatgpt/c748e3fc78ec1840f96ca260cb1c70e6adfa86dd/04_build-a-report/Financial_Data.xlsm -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ChatGPT: Automating Excel with VBA like never before 🤯 2 | In this video I'm going to show you how I use VBA and ChatGPT to automate some pretty tedious Excel tasks. We'll be consolidating data, sending mass emails with personalized text and attachments, and even automating pivot table creation. I'll walk you through step by step, showing you how easy it is to use ChatGPT to generate the VBA code for these tasks, and how little effort it takes to implement them in your own workbooks. So, come along with me and let's make Excel work for us, instead of the other way around! 3 | 4 | 5 | ## Video Tutorial 6 | [![YouTube Video](https://img.youtube.com/vi/AEgzrEYYboU/0.jpg)](https://youtu.be/AEgzrEYYboU) 7 | 8 | 9 | 10 | 11 | ## 🤓 Check Out My Excel Add-ins 12 | I've developed some handy Excel add-ins that you might find useful: 13 | 14 | - 📊 **[Dashboard Add-in](https://pythonandvba.com/grafly)**: Easily create interactive and visually appealing dashboards. 15 | - 🎨 **[Cartoon Charts Add-In](https://pythonandvba.com/cuteplots)**: Create engaging and fun cartoon-style charts. 16 | - 🤪 **[Emoji Add-in](https://pythonandvba.com/emojify)**: Add a touch of fun to your spreadsheets with emojis. 17 | - 🛠️ **[MyToolBelt Add-in](https://pythonandvba.com/mytoolbelt)**: A versatile toolbelt for Excel, featuring: 18 | - Creation of Pandas DataFrames and Jupyter Notebooks from Excel ranges 19 | - ChatGPT integration for advanced data analysis 20 | - And much more! 21 | 22 | 23 | 24 | ## 🤝 Connect with Me 25 | - 📺 **YouTube:** [CodingIsFun](https://youtube.com/c/CodingIsFun) 26 | - 🌐 **Website:** [PythonAndVBA](https://pythonandvba.com) 27 | - 💬 **Discord:** [Join our Community](https://pythonandvba.com/discord) 28 | - 💼 **LinkedIn:** [Connect with me](https://www.linkedin.com/in/sven-bosau/) 29 | - 📸 **Instagram:** [Follow me](https://www.instagram.com/codingisfun_official/) 30 | 31 | ## Support My Work 32 | Love my content and want to show appreciation? Why not [buy me a coffee](https://pythonandvba.com/coffee-donation) to fuel my creative engine? Your support means the world to me! 😊 33 | 34 | [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://pythonandvba.com/coffee-donation) 35 | 36 | ## Feedback 37 | Got some thoughts or suggestions? Don't hesitate to reach out to me at contact@pythonandvba.com. I'd love to hear from you! 💡 38 | ![Logo](https://www.pythonandvba.com/banner-img) 39 | --------------------------------------------------------------------------------