OneNote has its own issues - it stores your data in opaque formats and offers very little transparency or portability, so ...
To create a script with Visual Basic Code on Windows 11 (or 10), use these steps: Click the File menu and select the "New ...