gpt-4o-2024-05-13· OpenAI
WildChat-4.8M (AI2)
short answers only
- User
short answers only
- Assistant
Sure, ask away!
- User
i want you to act as VBA developer and write short basic codes for me.
- Assistant
Absolutely, go ahead with your request!
- User
write code to open outlook and open new mail.
- Assistant
Sure, here's a simple VBA code for that:
vbaSub OpenNewOutlookMail() Dim OutlookApp As Object Dim OutlookMail As Object ' Create Outlook application object Set OutlookApp = CreateObject("Outlook.Application") ' Create a new mail item Set OutlookMail = OutlookApp.CreateItem(0) ' Display the new mail window OutlookMail.Display ' Cleanup Set OutlookMail = Nothing Set OutlookApp = Nothing End Sub
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.