Skip to content

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.

Notifications You must be signed in to change notification settings

Sven-Bo/Integrate-ChatGPT-in-Excel-using-VBA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ 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 🔥

AI Companion Demo

🎥 Full Explanation video:

YouTube Video

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

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

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

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: Easily create interactive and visually appealing dashboards.
  • 🎨 Cartoon Charts Add-In: Create engaging and fun cartoon-style charts.
  • 🤪 Emoji Add-in: Add a touch of fun to your spreadsheets with emojis.
  • 🛠️ MyToolBelt Add-in: 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

Support My Work

Love my content and want to show appreciation? Why not buy me a coffee to fuel my creative engine? Your support means the world to me! 😊

ko-fi

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

About

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.

Resources

Stars

Watchers

Forks

Languages