MS Office VBA has a property called Application.PathSeparator.
I'm supportive of interoperability, but Office runs only on Windows & MacOS, and both platforms use the same \ path separator.
When would it ever be advisable to use Application.PathSeparator (as opposed to simply hardcoding the \ and saving 22 keystrokes)?
To be clear, I do think it's important to support international differences when posting code on an international site like Stack Overflow, so I will often use Application.International properties such as xlDateSeparator and, more importantly, xlDateOrder. (More about those here)
In some cases it's even not a great idea to use
Application.PathSeparator, because if you open a workbook from a network space, e.g. a OneDrive out of a browser, the correct separator would be/. Anyway,Application.PathSeparatordoesn't notice that...