Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Sven-Bo/Integrate-GPT4-in-Excel-using-VBA
This repository contains VBA modules that enable integration of the GPT-3.5-turbo and GPT-4 models into Microsoft Excel
https://github.com/Sven-Bo/Integrate-GPT4-in-Excel-using-VBA
chatgpt excel excel-vba gpt-3-5-turbo gpt-4
Last synced: 3 months ago
JSON representation
This repository contains VBA modules that enable integration of the GPT-3.5-turbo and GPT-4 models into Microsoft Excel
- Host: GitHub
- URL: https://github.com/Sven-Bo/Integrate-GPT4-in-Excel-using-VBA
- Owner: Sven-Bo
- License: other
- Created: 2023-10-08T17:24:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-17T12:29:43.000Z (4 months ago)
- Last Synced: 2024-07-17T15:22:55.727Z (4 months ago)
- Topics: chatgpt, excel, excel-vba, gpt-3-5-turbo, gpt-4
- Language: VBA
- Homepage:
- Size: 215 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- jimsghstars - Sven-Bo/Integrate-GPT4-in-Excel-using-VBA - This repository contains VBA modules that enable integration of the GPT-3.5-turbo and GPT-4 models into Microsoft Excel (VBA)
README
⚠️ **NOTE**: The provided code and the Excel add-in only works on Windows. ⚠️
# GPT-3.5-turbo and GPT-4 in Excel
This repository contains VBA modules that enable integration of the GPT-3.5-turbo and GPT-4 models into Microsoft Excel, as demonstrated in the accompanying [YouTube video](https://youtu.be/3Z96yLlDim0). The provided VBA code allows you to leverage ChatGPT capabilities directly within Excel, aiding in various data processing and text generation tasks.## MyToolBelt Add-in
If you're looking for a more comprehensive solution, consider trying the [MyToolBelt Add-in](https://pythonandvba.com/mytoolbelt). This Excel add-in also integrates ChatGPT into Excel, alongside additional features and improved error handling to enhance the user experience and streamline tasks.![AI Companion Demo](assets/ai_companion.png)
### Video Tutorial
[![YouTube Video](https://img.youtube.com/vi/3Z96yLlDim0/0.jpg)](https://youtu.be/3Z96yLlDim0)## 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)