-
Tried this and doesn't work :
[vba]Function OperatingSystem(sOSVer As String)
Dim sOSVer As String
sOSVer = Application.OperatingSystem
End Function[/vba]
But if it put it in a sub with a MsgBox then it does work... :/
Think I am misunderstanding the differentiation of :
Property
Function
Sub
Last edited by Aussiebear; 04-18-2012 at 05:02 PM.
Reason: Added vba tags to code
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules