Something from the FAQ which probably doesn't belong there:
Function GetSystem32Folder() As String
GetSystem32Folder = Environ("SystemRoot") & "\system32\"
End Function
Why is this important? I really don't know. But it was a few minutes of fun to find out how to do it. The system32 folder does contain a lot of DLLs which you can leverage in VBA.
Follow Me