Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

https://stackoverflow.com/questions/55585923/set-vba-variable-to-result-from-function-which-is-string

Public Sub MainSubTest()
   returnstr  = foo("bar")
   MsgBox returnstr
End Sub

Public Function Test(ByRef var As String) As String
   Test = "foo" & var
End Function
  • No labels