Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).![]() |
![]() |
|
Thread Tools |
![]() |
#1 |
Guest
Posts: n/a
|
![]()
Anyone any good at it?
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
![]()
ye, what are you looking to find out?
a good place is VBFORUMS.com drop up your code and i will see what i can do Dav |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
![]()
I am trying to get it to send an email to a specific email address with the speadsheet attached
I can get it to bring up and email with it attached, but i have never done this before and thats about as far as i can get without any notes or help ![]() Sub Macro3() ' ' Macro3 Macro ' Macro recorded 18/03/2011 by Rachel Morris ' ' Range("P30").Select Application.Dialogs(xlDialogSendMail).Show End Sub I added in: ' Create a new email object email.Subject = "Text" email.Body = "Text" email.From = "USER <EMAILADDRESS>" email.AddTo "ADMIN","EMAIL ADDRESS" But doesnt like that. And its all a bit futher than my basic knowledge goes ![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
![]()
beyond me.. i tend to record the macro and then chop it about to suit...
|
![]() |
![]() |
#5 | |
Guest
Posts: n/a
|
![]() Quote:
change the File extention of the attachment from DOC to XLS (not able to upload xls files) if you open the file then navigate to VB you will see 2 modules ones a BAS file and the other is a CLS file. the line OL.SendMessage "EMAIL@EMAIL.com", "TEST", "TEST123" if you add a file name to the end like this OL.SendMessage "EMAIL@EMAIL.com", "TEST", "TEST123", "c:\TESt.txt" then it will send the attachment as well. if you want to know how it works in detail give me a shout and i will do my best. cheers Dav SEND_MAIL.DOC Last edited by Davadvice; 18-03-11 at 01:50 PM. |
|
![]() |
![]() |
#6 |
Guest
Posts: n/a
|
![]()
Brilliant thank you, i will give it a go
|
![]() |
![]() |
#8 |
Member
Mega Poster
Join Date: Jul 2006
Location: Dundee
Posts: 4,414
|
![]() ![]() |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Audio / Visual Thread......... | hindle8907 | Idle Banter | 174 | 18-10-12 09:14 PM |
Some basic HELP with EXCEL pls | 600+ | Idle Banter | 4 | 02-10-07 01:59 PM |
Visual Basic help req'd | Supervox | Idle Banter | 6 | 22-06-07 10:56 AM |
anyone knows a good book about Visual basic? | Dave The Rave | Idle Banter | 5 | 01-05-07 05:20 PM |
Visual Studio 2005 Settings | MavUK | Idle Banter | 6 | 24-10-06 02:54 PM |