VBA routine to write new sub routine in outlook

Status
Not open for further replies.

framednlv

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Exchange Server
I could use some help with creating a routine that writes a new sub routine to a module. What I looking at doing is use the browse folders to get a file path and set the sub routine name.

Here is an example of what I need to create:
Public Sub 16001 My_Job_example() 'sub is from mypath below
Dim mypath As String
mypath = "J:\2016\16001 My Job example\OFFICE\EMAIL" 'mypath from strFolderpath = BrowseForFolder
Email_out (mypath)
End Sub

I found an example for excel but I'm not sure how to use it in outlook, see Adding A Procedure To A Module:
Programming In The VBA Editor
 
Status
Not open for further replies.
Top