ExcelAI Assistant is a VBA-based tool that integrates with the OpenAI GPT-4 API to provide intelligent responses directly within the Excel environment. This assistant can help users with a variety of Excel tasks by providing accurate and context-aware responses.
If you enjoyed this sort of stuff then sign up to our newsletter. Looking to learn? Check out The Ministry of AI.
Features
Usage
apiKey
variable in the code.AskAI
function to send a query to the GPT-4 API and receive a response.Code Overview
AskAI
: Main function to send a query and retrieve the response.ParseContent
: Extracts the relevant content from the API response.ParseError
: Extracts error messages from the API response for debugging purposes.Installation
ALT + F11
to open the VBA editor.apiKey
variable with your OpenAI API key.Contributing
Feel free to submit issues or pull requests if you have suggestions or improvements. Contributions are always welcome!