Here is VBA code that will do that for you.
Code:
Sub UpdateQueries()
Dim qdf As QueryDef
Dim mySQL As String
Dim myNewSQL As String
' Loop through all queries
For Each qdf In CurrentDb.QueryDefs
If Left(qdf.Name, 1) <> "~" Then
' Capture SQL code of query
mySQL = qdf.SQL
' Replace UDF with hard-coded date in SQL code
myNewSQL = Replace(mySQL, "CC_PAYOUT_DATE", "#11/30/2018#")
' Set new query code
qdf.SQL = myNewSQL
End If
Next qdf
MsgBox "Updates complete"
End Sub
Note: Check out how the UDF is used in your queries. If it is referenced like "
CC_PAYOUT_DATE()", make sure to include the parends in the Replace statement in the code above.
Also, always back up your database before doing something like this that could potentially update a lot of code!!!