Hi,
I have a userform that runs a macro from code set on individual worksheets.
What I'd rather do is have it run from a module, so I can use the same module for multiple sheets.
I have this:
How to I change this to run a module (same name: Mailout) instead of from the sheet.
I apologize in advance, I know this is basic, but I'm burned out from a previous search and haven't been able to find the answer to this anywhere else.
Thanks in advance!
I have a userform that runs a macro from code set on individual worksheets.
What I'd rather do is have it run from a module, so I can use the same module for multiple sheets.
I have this:
Code:
If ActiveSheet.Range("h224").Value = "T" Then
Range("D3:I3").Select
ActiveCell.Value = Range("AK8").Value
Run ("Sheet5.Mailout")
End If
How to I change this to run a module (same name: Mailout) instead of from the sheet.
I apologize in advance, I know this is basic, but I'm burned out from a previous search and haven't been able to find the answer to this anywhere else.
Thanks in advance!