Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Joel Elliott   on Jan 18 In MS Office Category.

  
Question Answered By: Leroy Schmidt   on Jan 18

I usually pass values in Access, but Excel should be very similar:

How I call the Function:

'goes and gets the Attorney Signature, based on the Short Case Caption
value
strFSAttorneySig = FSAttorneySig(strtxtShortCaseCaption)

'My function which will return  a value to my calling location for me to
use
Public Function FSAttorneySig(strShortCaseCaption As String) As String

.... Code steps - loops through my record set gathering all pertinent
attorney signature information ....

'passes the value back  to the calling location
FSAttorneySig = strFSAttorneySig
End Function


In my example, I am using the strtxtShortCaseCaption to narrow the
results of my call so, I am passing information into my Public Function
as well as passing information back out of my function to the original
procedure.

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on accessing user form data from other modules Or get search suggestion and latest updates.


Tagged: