I have now gone down the path of trying to create a Public Function to get the value from Query PB7 and plug that answer [which is "May"] into my line of text.
Here is my code so far:
Code:
Option Compare Database Option Explicit Public strgOutPut As String Public QueryMonth As Variant Public Function GetGlobal(VariableType As String) As Variant Select Case VariableType
Leave a comment: