Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
i am testing engg i am using excel as bug reporting tool. now columns as follows TCID Prereq StepstoFollow Exp Res Act Res Pass/Fail Date BID Mail 1 ABC ABC XYZ XYZ Pass 6-6-05 5 sachin 2 PQR ABC XYZ XYZ Pass 7-6-05 - sachin In coloumn Mail sachin is link to When i click on sachin ( at end of 1 TCID) link it should send mail to . To : Sub : New Bug BID = 5 Message TCID Prereq StepstoFollow Exp Res Act Res Pass/Fail Date BID 1 ABC ABC XYZ XYZ Pass 6-6-05 5 How i can do this by programming or any micro. Help me. Regards, Sachin |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Take a look at www.rondebruin.nl/sendmail.htm, he seems to cover most
possibilities there. -- HTH RP (remove nothere from the email address if mailing direct) "softysachin" wrote in message ... Hi i am testing engg i am using excel as bug reporting tool. now columns as follows TCID Prereq StepstoFollow Exp Res Act Res Pass/Fail Date BID Mail 1 ABC ABC XYZ XYZ Pass 6-6-05 5 sachin 2 PQR ABC XYZ XYZ Pass 7-6-05 - sachin In coloumn Mail sachin is link to When i click on sachin ( at end of 1 TCID) link it should send mail to . To : Sub : New Bug BID = 5 Message TCID Prereq StepstoFollow Exp Res Act Res Pass/Fail Date BID 1 ABC ABC XYZ XYZ Pass 6-6-05 5 How i can do this by programming or any micro. Help me. Regards, Sachin |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
'Option Explicit
'sorry that comments in Polish :) Sub send_excel() ' wysyła aktywny arkusz jako załącznik wyslij = Application.Dialogs(xlDialogSendMail).Show("afin4@ o2.pl", "temat") End Sub Sub send_outlook() 'Jeżeli mamy MSOutlooka możemy skorzystać z odwołania do jego biblioteki - mamy wtedy znacznie większe możliwości kształtowania naszej wiadomości. Poniższy kod wysyła e-maila za pomocą MSOutlooka (zmodyfikowany kod pochodzi z samples.xls): ' <<< important! For this example click References on the Tools Menu, and select the Microsoft Outlook 9.0 object libraries. Dim ol As Object, myItem As Object 'Create a Microsoft Outlook session On Error Resume Next Set ol = CreateObject("outlook.application") 'Create a mail For i = 1 To 1 Set myItem = ol.CreateItem(olMailItem) adresat = " 'adresat wiadomości, jeśli wielu oddzielamy znakiem separacji ; temat = "Temat wiadomości" 'tutaj temat wiadomości tresc = "Treść linia 1" & vbCr & "treść linia 2" ' zalacznik = "c:\Afin\Arkusze\Bilans1.xls" With myItem .To = adresat .Subject = temat .Body = tresc .NoAging = True .ReadReceiptRequested = False 'True jesli chcesz by przesłano potwierdzenie odczytu .OriginatorDeliveryReportRequested = False 'True jesli chcesz by potwierdzenie odbioru ' .Attachments.Add zalacznik .Send ' .Save ' Save if into draft End With Set myItem = Nothing Next i Set ol = Nothing 'Remove object from memory End Sub Wojciech G. "softysachin" wrote: Hi i am testing engg i am using excel as bug reporting tool. now columns as follows TCID Prereq StepstoFollow Exp Res Act Res Pass/Fail Date BID Mail 1 ABC ABC XYZ XYZ Pass 6-6-05 5 sachin 2 PQR ABC XYZ XYZ Pass 7-6-05 - sachin In coloumn Mail sachin is link to When i click on sachin ( at end of 1 TCID) link it should send mail to . To : Sub : New Bug BID = 5 Message TCID Prereq StepstoFollow Exp Res Act Res Pass/Fail Date BID 1 ABC ABC XYZ XYZ Pass 6-6-05 5 How i can do this by programming or any micro. Help me. Regards, Sachin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Macro how to create email link for the email addresses in aRange or Selection | Excel Worksheet Functions | |||
send wkbk as an email attachment with an email address copied from | Excel Discussion (Misc queries) | |||
can I copy a column of email addresses, paste into email address? | New Users to Excel | |||
Transfer Email addresses from spreadsheet to email address book | Excel Discussion (Misc queries) | |||
Email editor closes when forwarding Excel-embedded email | Setting up and Configuration of Excel |