Results 1 to 11 of 11

Thread: VBA / Formula approach

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Tutor
    Joined
    Mar 2010
    Posts
    285
    Location

    Question

    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
  •