After months of work I have finally finished my Change Control management database.
It looks flash all the filters work, all the reports work, importing from Xcel is automatic its lovely........b ut I am struggling with my final little detail.
I have absolutely no idea where to start. I excel I am able to use the following code:-
Sub Email()
Dim EmailAdd As String
Dim EmailSub As String
Sheets("sheet3" ).Activate
EmailSub = Sheets("Message ").Range("C3"). Text
EmailAdd = "mailto:" & Sheets("sheet3" ).Range("b1").T ext & "?subject=" & EmailSub
MsgBox "Address is " & EmailAdd
ActiveWorkbook. FollowHyperlink Address:=EmailA dd, _
NewWindow:=True
End Sub
But putting the following into an access format is proving difficult.
I created a mailing list in a table email_table.
What I want to do is on my form I would select a combo box called system. This lists the different systems we have. For example SAP or POLFS. this table that powers the form is called data_table andthe main form is called data_form.
what I am looking to do is when the field "system" is completed on the data_form, my query will return all the email address' assigned to that product.
This is where I am now confused, how do I get access to use the returned list to populate an email for sending with these email address, and can i get it to automatically attach a specified report i.e daily_summary_r eport.
Please can someone help me.
thanks.
Tony
It looks flash all the filters work, all the reports work, importing from Xcel is automatic its lovely........b ut I am struggling with my final little detail.
I have absolutely no idea where to start. I excel I am able to use the following code:-
Sub Email()
Dim EmailAdd As String
Dim EmailSub As String
Sheets("sheet3" ).Activate
EmailSub = Sheets("Message ").Range("C3"). Text
EmailAdd = "mailto:" & Sheets("sheet3" ).Range("b1").T ext & "?subject=" & EmailSub
MsgBox "Address is " & EmailAdd
ActiveWorkbook. FollowHyperlink Address:=EmailA dd, _
NewWindow:=True
End Sub
But putting the following into an access format is proving difficult.
I created a mailing list in a table email_table.
What I want to do is on my form I would select a combo box called system. This lists the different systems we have. For example SAP or POLFS. this table that powers the form is called data_table andthe main form is called data_form.
what I am looking to do is when the field "system" is completed on the data_form, my query will return all the email address' assigned to that product.
This is where I am now confused, how do I get access to use the returned list to populate an email for sending with these email address, and can i get it to automatically attach a specified report i.e daily_summary_r eport.
Please can someone help me.
thanks.
Tony
Comment