Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Sven-Bo/Integrate-ChatGPT-in-Excel-using-VBA

Revolutionize your spreadsheet game with OpenAI's ChatGPT in Microsoft Excel using my custom VBA code. Automate tedious tasks and add a new level of intelligence to your data analysis. The code is available in the GitHub repository for you to use and integrate into your own spreadsheets.
https://github.com/Sven-Bo/Integrate-ChatGPT-in-Excel-using-VBA

Last synced: 3 months ago
JSON representation

Revolutionize your spreadsheet game with OpenAI's ChatGPT in Microsoft Excel using my custom VBA code. Automate tedious tasks and add a new level of intelligence to your data analysis. The code is available in the GitHub repository for you to use and integrate into your own spreadsheets.

Awesome Lists containing this project

README

        

⚠️ **NOTE**: The provided code and the Excel add-in only works on Windows. ⚠️



# !!! NEWS !!! AI Companion: GPT-3.5 Turbo inside Excel πŸ€―πŸš€
After creating the video, I realized it would be an excellent idea to make this feature more accessible. As a result, I included the AI Companion feature in the free version of the MyToolBelt add-in. The AI Companion leverages the even more powerful GPT-3.5 Turbo model, making it easier than ever to integrate cutting-edge AI technology directly into your spreadsheets.

## πŸ”₯ **Experience the AI Companion now: [MyToolBelt Add-in](https://pythonandvba.com/mytoolbelt)** πŸ”₯

![AI Companion Demo](assets/ai_companion.png)

## πŸŽ₯ **Full Explanation video**:
[![YouTube Video](https://img.youtube.com/vi/fvGMq4Vy5Bk/0.jpg)](https://youtu.be/fvGMq4Vy5Bk)

## ChatGPT right INSIDE Excel 🀯
In this repo, you'll find the VBA code from the YouTube video, which demonstrates how to integrate the GPT-3 model into Microsoft Excel using custom VBA code.

### Demo
Demo ChatGPT

### Video Tutorial
[![YouTube Video](https://img.youtube.com/vi/-3otazH5crw/0.jpg)](https://youtu.be/-3otazH5crw)

## Common Issues and Solutions

### I received an error message regarding an OpenAI request failure with a 401 status code, stating that my API key is incorrect. What should I do?
![Invalid API Key Error](assets/invalid_api_key.png)

If you encounter a 401 error message indicating an incorrect API key, please follow these steps:

1. Double-check your OpenAI API key: Make sure you have entered the correct API key in the MyToolBelt add-in settings. You can find your API key by logging into your OpenAI account at https://platform.openai.com/account/api-keys
2. Ensure there are no extra spaces or characters: When copying and pasting your API key, make sure you haven’t accidentally included any extra spaces or characters, as this can cause the key to be recognized as invalid.
3. Verify your OpenAI API plan: Ensure that your OpenAI API plan is active and supports the features you are trying to access with the AI Companion.

### I received an error message regarding an OpenAI request failure with a 429 status code, stating that I exceeded my current quota. I'm using the free credits I received when signing up. What should I do?
![Exceed Current Quota Error](assets/exceed_current_quota.png)

If you encounter a 429 error message indicating that you have exceeded your current quota while using the free credits provided upon signing up, please follow these steps:

1. Check your OpenAI API usage: Log into your OpenAI account at https://platform.openai.com/account/api-keys and review your API usage to determine if you have indeed exceeded your allotted quota for the current billing period.
2. Add your billing details: If you have used up your free credits, you will need to add your billing details to your OpenAI account in order to continue using the AI Companion. To do so, visit https://platform.openai.com/billing and enter the required information.

## πŸ€“ Check Out My Excel Add-ins
I've developed some handy Excel add-ins that you might find useful:

- πŸ“Š **[Dashboard Add-in](https://pythonandvba.com/grafly)**: Easily create interactive and visually appealing dashboards.
- 🎨 **[Cartoon Charts Add-In](https://pythonandvba.com/cuteplots)**: Create engaging and fun cartoon-style charts.
- πŸ€ͺ **[Emoji Add-in](https://pythonandvba.com/emojify)**: Add a touch of fun to your spreadsheets with emojis.
- πŸ› οΈ **[MyToolBelt Add-in](https://pythonandvba.com/mytoolbelt)**: A versatile toolbelt for Excel, featuring:
- Creation of Pandas DataFrames and Jupyter Notebooks from Excel ranges
- ChatGPT integration for advanced data analysis
- And much more!

## 🀝 Connect with Me
- πŸ“Ί **YouTube:** [CodingIsFun](https://youtube.com/c/CodingIsFun)
- 🌐 **Website:** [PythonAndVBA](https://pythonandvba.com)
- πŸ’¬ **Discord:** [Join our Community](https://pythonandvba.com/discord)
- πŸ’Ό **LinkedIn:** [Connect with me](https://www.linkedin.com/in/sven-bosau/)
- πŸ“Έ **Instagram:** [Follow me](https://www.instagram.com/codingisfun_official/)

## Support My Work
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! 😊

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://pythonandvba.com/coffee-donation)

## Feedback
Got some thoughts or suggestions? Don't hesitate to reach out to me at [email protected]. I'd love to hear from you! πŸ’‘
![Logo](https://www.pythonandvba.com/banner-img)