Hi l.g.gillis,
Thank you for querying in this forum.
According to your description, it seems that you want to share a presentation with VBA code with your students.
If my understanding is right, you can save your file with VBA code as type
PowerPoint Macro-Enabled Presentation, you can click File > Save As > In the Save as type list, select the following type: PowerPoint Macro-Enabled Presentation. For more details, you can refer to this article:
Save a presentation that contains VBA macros.
Then you can upload the file to OneDrive for business, then you can select this file > click Share and share this file with your students. However, you students may need to download the file and open this pptm
file on the local, because VBA code is not supported in Excel Online. For more details about how to share files, you can refer to this article:
Share OneDrive files and folders.
If the scenario above is not consistent with yours, you can also post back and provide more details about your requirement and we will try our best to help you.
Best Regards,
Sukie