Тёмный

Excel VBA - Attach (Invoice) PDF to Email and Send to Email Address (Based on Cell Value) 

Chester Tugwell
Подписаться 102 тыс.
Просмотров 50 тыс.
50% 1

Buy the Simple Sheets Invoice Template (all purchases help support this channel)
www.simplesheets.co/a/2147525...
Download the featured invoice template here
www.bluepecantraining.com/exc...
Full playlist for this video series: • Create an Automated In...
This tutorial is part of a series of tutorials that demonstrate how to create an automated invoice system in Microsoft Excel. This video looks at saving the invoice worksheet as a pdf and then sending it as an attachment via email.
Other videos in this series show you how to write VBA macros that
1) Create the invoice itself
2) Automatically generate the next invoice number
3) Add the invoice details to a record of invoices
4) Save the invoice as an Excel workbook
Table of Contents:
00:00 - Introduction
02:06 - Starting the VBA code for the button
02:52 - Declaring the variables for the macro
05:01 - VBA code to export worksheet as PDF
06:19 - VBA to find the next blank row in the invoice tracker
07:11 - VBA to copy invoice details to the invoice tracker
07:58 - VBA to create a hyperlink to a pdf
08:21 - VBA to create and send email with pdf attached (email address based on cell value)
11:20 - Create a button to run the macro
------------------------

Хобби

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 121   
@ChesterTugwell
@ChesterTugwell 2 года назад
A few of you are asking about sending your invoice via gmail rather than outlook. This is possible - please see this excellent article wellsr.com/vba/2020/excel/vba-send-email-with-gmail/
@icepod-livewell-feelbetter4139
Hi And for apple mail? is it possible?
@lorenawilliams4229
@lorenawilliams4229 Год назад
So i have read the article and using your template, I was still not able to use my gmail vs outlook. I'm not sure what I'm doing wrong in the macros for it not to work.
@Mr.Snow12
@Mr.Snow12 Год назад
I get an error message saying that I don't have an internet connection which I do. What could be the problem on my end? Edit. I fixed the internet issue but get a transport to server error. I triple checked my code and the code is good,
@indianyoutube9749
@indianyoutube9749 Год назад
there is one single issue you did not cover in the whole part. How to remove objects when save to pdf and because logo is an object, macro will delete it when clicked on save as pdf
@J.M.Landry
@J.M.Landry 10 месяцев назад
@@indianyoutube9749 (covered in Q&A on Video #3) "****If you are having trouble with your logo being deleted use this code:**** For Each shp In ActiveSheet.Shapes If shp.Type msoPicture Then shp.Delete Next shp Hope this helps 👍
@aljomanu
@aljomanu Год назад
A thousand thanks for providing us with this gem of a series. i will also add my small contribution by sharing what i found. For anybody who like me was looking for a way to add a line break to the email body, you can use the special character sequence 'vbCrLf'. You can also double it or more to increase the space between the lines. For example : .Body = "Hello," & vbCrLf & "Please find attached the document mentioned above." & vbCrLf & vbCrLf & "Best regards." Hope it works for everybody
@joedineley715
@joedineley715 2 года назад
Simply amazing and so easy to follow. Thank you so much for your excellent method of teaching VBA.👍
@karansantra1602
@karansantra1602 Год назад
Great course. Perfect for my small business. Easily understandable method of explaining/teaching. 🎖
@polherron
@polherron 7 месяцев назад
What a brilliant series. Really well worked out and narrated. Thank you.
@pixipui
@pixipui Год назад
This whole Series was super helpful! Thank you so much :D xx
@user-vn8gt1tc1x
@user-vn8gt1tc1x Год назад
Amazing instructions from video 1 to 6! Thank you for your help 😊
@Evergreen_forever_life
@Evergreen_forever_life 2 года назад
Thank you Mr. Chester, this video is helped me a lot to sort out my excel sheet and auto mail issue
@user-ic5mh8rx9x
@user-ic5mh8rx9x Год назад
Thanks so much for all your efforts! This method works even better than some professional softwares in my situation as I can custom and change functions the way I want! Good Job!!
@nicholasmorgan9237
@nicholasmorgan9237 Год назад
I have been looking for ages for a way to attach e mail to invoices, this is really helpful and it works!!! Thank you for your Professional contribution.
@ChesterTugwell
@ChesterTugwell Год назад
Glad it was helpful!
@leotvlk
@leotvlk Год назад
Thank you very much sir, your lesson was of great benefit to me... Thanks again. i'm from Sri Lanka
@kgosalvez
@kgosalvez 2 года назад
I really want to thank you for your videos. They are awesome! I appreciate it. I was able to apply this to Excel on my Mac.
@mattkriese7170
@mattkriese7170 8 месяцев назад
Hi there. This is the only macro I haven't been able to get up and running on my mac. Were you able to get this functioning by following the code exactly? Looking for a work around active-x
@davidoverbo826
@davidoverbo826 Год назад
Thank you for the great videos, this worked perfectly for my invoicing.
@opentrainingcamp
@opentrainingcamp 2 года назад
Amazing and helpful content, I have actually created my own out of this series of video
@jimchamb29
@jimchamb29 2 года назад
Your an excellent teacher. Thank you!!
@AndreaHaupt14
@AndreaHaupt14 8 месяцев назад
Excellent series, thank you so much!!
@nunyabusiness4516
@nunyabusiness4516 Год назад
Thank you so much for all of the information you post. You make life so much more convenience and efficient. My only question regarding this tutorial would be: how can we direct the email to be sent from a specific email? I have several accounts and it doesn't send from the default account. I do look forward to hearing from you. Thanks in advance.
@lisay5302
@lisay5302 11 месяцев назад
Thanks so much! Very easy to follow along
@SalwaOmar-yf6qw
@SalwaOmar-yf6qw 2 месяца назад
Thanks for your time. That was very insightful.
@fonkong
@fonkong 6 месяцев назад
Thank you for this series, you have truly helped me develop an invoice system. I have added features, like to not recording duplicates and ensuring that all important fields are entered before recording or saving the invoice. Something were a bit tough, especially as a mac use, but I managed to make it work accordingly.
@FOXFIREFIXERSCHANNEL
@FOXFIREFIXERSCHANNEL 2 года назад
Amazing job! Thank you so much for sharing your knowledge with us!
@FOXFIREFIXERSCHANNEL
@FOXFIREFIXERSCHANNEL 2 года назад
The only issue I see is in the tax (VAT) area. You are only calculating tax revenue @20% for 1 item. So if I have 50 items at $5.00 it only charges 1.00 tax. Could you please help with a formula that would correct this? I tried to figure it out on my own but have failed.
@FOXFIREFIXERSCHANNEL
@FOXFIREFIXERSCHANNEL 2 года назад
Please disregard my last reply. I figured it out. The formula that you used was =IF(F19"",G19*20%,"") which gave you 20% times a quantity of one item dollar amount. The new formula is =IF(F19"",I19*20%"") this will give you tax amount in total quantity dollar amount.
@debbiesmith9605
@debbiesmith9605 Год назад
Hi Chester these tutorials were awesome thank you so much. I have a question Will you be doing a tutorial for an end of month statement to go with this?
@derekjspence
@derekjspence Год назад
Thank you very much for this extremely helpful series of videos. I have been creating a TimeSheet - Invoice workbook for my partner and found your tips and code easy to follow and tailor to her requirements. I added a message box which pops-up to confirm the execution of the VBA to Export and Email the PDF. I wish to add a secondary Message Box which asks the user if they wish to send the email right away or open for checking & editing (thus, making the .Display or .Send line a variable) but so far I am unable to find how to a/ Have custom text in message box response buttons, b/ use a message box answer to change the code between .Display and .Send. Will persevere.
@wayneedmondson1065
@wayneedmondson1065 2 года назад
Thanks Chester!
@ankushdas9792
@ankushdas9792 Год назад
Thank u man..u are awesome 👏
@hitechhicura
@hitechhicura 2 года назад
Amazing thank you so much
@thomashart5081
@thomashart5081 Год назад
Thanks, excellent tutorials so handy and well created. A similar sort for cash books would be fantastic as well even better if invoices and spending all linked
@ChesterTugwell
@ChesterTugwell Год назад
Great suggestion!
@thomashart5081
@thomashart5081 Год назад
@@ChesterTugwell I want to learn how to create my own cash book system so to monitor finances but with your excellent invoice worked into it to automatically add the finances when setting paid to yes would be great as it takes ages going over the paperwork even on software.
@toshcanon
@toshcanon 2 года назад
awesome thanks!
@hadjidjilali8034
@hadjidjilali8034 2 года назад
Thank you
@nikolaithomassen3052
@nikolaithomassen3052 2 года назад
Thanks Chester! Would you maybe be able to show me how to add the signature to this code? Thanks again. Really helpful and easy to follow! :-)
@paulinakleinberger1070
@paulinakleinberger1070 2 года назад
Hi Chester, these videos were unbelievably helpful, thank you for taking the time to put them together! As many others have asked, I'm looking to use this same approach using Gmail vs Outlook. Any insights on how to change the VBA to do this?
@ChesterTugwell
@ChesterTugwell 2 года назад
Paulina, please see wellsr.com/vba/2020/excel/vba-send-email-with-gmail/
@notaperson3338
@notaperson3338 Год назад
Thanks for the awesome content. What if I am not using Outlook as my email app? I use Proton Mail.
@JakovLSSJ4
@JakovLSSJ4 7 месяцев назад
Easy, short and straight to the point
@joeydominicus4284
@joeydominicus4284 Год назад
you are making my life soo much easier now thx! do u know if its possible to mail from apple mail (working on a macbook )
@ChesterTugwell
@ChesterTugwell 2 года назад
If you are having trouble with your logo being deleted use this code: For Each shp In ActiveSheet.Shapes If shp.Type msoPicture Then shp.Delete Next shp
@keremyakutlu255
@keremyakutlu255 Год назад
Thanks a lot!
@douglasbacon2106
@douglasbacon2106 Год назад
I truly appreciate your teachings and your tools. This tool is perfect for my small business. I was watching you vidoes and planning to create one from scratch, but then I was wondering if you would be willing to sell a copy of the workbook? I would have to do some customizing but it would save me a lot of time. If you would be interested in selling me a copy please let me know how much.
@jonathanlugo4460
@jonathanlugo4460 4 месяца назад
Greetings! Let me start by saying thank you for the amazing series. Great explanation and easy to follow along. I got a question. If I wanted to personalized the email body with a greeting to the client and display the client's name with the variable set for it. How would one go about that if possible. Thanks anticipated for your time.
@InsideMyWall
@InsideMyWall 2 года назад
Is it possible to get the VBA button options with the assigned micro in a drop down menu so that one can choose and select whether to say export as pdf or xls?
@tyroneashby5420
@tyroneashby5420 Год назад
Chester I love these videos. I was following the invoice tracker this morning and followed the code for the VBA, but when I ran the module, I saved the details in the invoice part of the workbook rather than the tracker. Did i miss something?
@jaimegonzalez8653
@jaimegonzalez8653 2 года назад
This has been the best tutorial on making invoices I have seen. My only issue I have come across is that I don't have Outlook. I have my own domain name and G-mail. Can anyone please help me make this Macro for G-mail. I appreciate it. Thank you and you Chester for all you've done.
@ChesterTugwell
@ChesterTugwell 2 года назад
Please see wellsr.com/vba/2020/excel/vba-send-email-with-gmail/
@freddielechmere9983
@freddielechmere9983 Год назад
Hi Thanks for this, is there any way to make it so it included my email signature when it generates the email in outlook? Thanks
@matirna
@matirna 5 месяцев назад
These videos are excellent. Was wondering, once the pdf is created and it is posted to the record of invoices, is there a way to regenerate the invoice to mark it as paid and send the receipt by email?
@alistairscott9216
@alistairscott9216 Год назад
Hi Chester, Thank you for making this Vlog, it has been extremely helpful. I am a novice at excel and your instructions are extremely helpful. When I click on the button to save the file to excel or PDF, instead of the customer's name displayed in my saved file it only shows the "Cell" Name; ie PDF 200 _ B10.pdf. this is also the same for the other save buttons. How do I change it to the actual customer's name in the VBA? Regards, Alistair
@jainejackson3265
@jainejackson3265 Год назад
May I ask what operating system and version you are demonstrating on pls, I get so far to finishing but I do not display the same options as you do for creating “new formatting Rule” as you do....I have the latest version on my Mac and office 365?
@fazalellahi1159
@fazalellahi1159 2 года назад
can you please guide me how to save invoice contents like product description with its price on separate sheet ?? so i can easily search product price billed before
@moquesuhaimi295
@moquesuhaimi295 2 года назад
hi mr chester. thanks a lot for your tutorial video. it really help me a lot. just asking can u help me with tutorial on how to attach pdf file and send via whatsapp desktop. currently i manage to open the exe app using syntax Shell ("C:\TEST\whatsApp.exe") but got no idea on how to attach the file like what you did on this email tutorial. really hope u can help me with this. thanks a lot sir
@harrisonjames9210
@harrisonjames9210 3 месяца назад
cheers for your help , very good. the only problem i cant get around is the following: i get a debug error saying runtime error "287" application - defined or object defined error?? any ways to fix this?
@douglashamid9929
@douglashamid9929 Год назад
super
@adebayonasirudeenyinka6409
@adebayonasirudeenyinka6409 Год назад
Well done sir, do you have vba code for monthly reports balance sheet sending as pdf to email from excel?
@lorenawilliams4229
@lorenawilliams4229 Год назад
How do you go back to viewing a previous invoice that was already created aside from record of invoice. For example if you had to make a change to an existing invoice
@whonos
@whonos Год назад
Hey mate. Amazing teaching. I have one question. I want to basically convert this template into a receipt and so where you have 'term 30,60,90' I have put 'Paid' into that list. This works for everything else, except when I try to email it it says 'mismatch' the debugger sends me to the VBA sub and highlights where term should be a number but mine says Paid. It's really not liking this, how do I fix?
@notanotch1107
@notanotch1107 Год назад
Is there anyway to get my custom signature block from outlook to display?
@user-ge2ox7lg2q
@user-ge2ox7lg2q 11 месяцев назад
I've learned a lot by watching this series of VBA videos, thank you. Like a lot of others, I do not use outlook. I use Mozilla Thunderbird as my email client. Could you tell me what I need to change to send the invoice from Thunderbird?
@MrFafina
@MrFafina 7 месяцев назад
any luck in adaptating the code for Thunderbird? Thanks!
@NewTestamentChurch2021
@NewTestamentChurch2021 Год назад
On running the macro I get Run-time error ‘429’: ActiveX component can’t create object
@leedobson2325
@leedobson2325 Год назад
Hi, I am trying to also attach the file as an excel sheet (without the macros etc) as well. Is this possible?
@manishapatel1858
@manishapatel1858 27 дней назад
Hello Chester, Your video series is amazing. The only problem came with the email portion. When I try to email the pdf I get a run time error 429 - ActiveX component can't create object at Set EApp = CreateObject("Outlook.Application") can you please help
@thatsawesomecarine
@thatsawesomecarine 7 месяцев назад
What about the duplicate records in the list since if you send to both pdf and save as xlsx file, it creates two rows?
@rommich2724
@rommich2724 3 месяца назад
I seem to encounter a problem with ( .To). So on a single cell the Range is ("C11") or on a merged cell is ("C11:H11"). In both cases, when hovering over the highlighted area, it shows the email address. I am confused...
@JRich967
@JRich967 2 года назад
Hello thanks for these helpful videos. I am running into an issue with this part.. Set EApp = CreateObject("Outlook.Application") Would it possibly be because I am using a Mac? Is there any way around this? Thanks for your help
@maggiegonzalez8059
@maggiegonzalez8059 2 года назад
What if I dont have outlook? how do I modify it for other email applications?
@milannekuhh9818
@milannekuhh9818 2 года назад
@@maggiegonzalez8059 I tried using Mozilla Thunderbird. But after reacearch, only Gmail and Outlook are good for this. So I suggest installing Outlook, logging in with ANY email account and running answers back to another email you want. (its a setting in outlook)
@wayawaya2504
@wayawaya2504 2 года назад
Thank you so much, Chester. I have been following along and I love your videos. I had to make a few teaks along the way with my MacBook. I would love to enable the email function, but I am using MacBooks Mail rather than outlook. I am getting a bug under SetApp, and I am not entirely sure what to write. Any chance you know what I should replace SetEApp = CreateObject("Outlook.Application") when using MacBook mail?
@nicodem4rco
@nicodem4rco Год назад
Having the same issue here. Could you fix it?
@farjanabegum4113
@farjanabegum4113 Год назад
@@nicodem4rco me too facing same issue
@Frank-si2jd
@Frank-si2jd Год назад
Same here! Did you guys found a solution for this? If so please let me know.
@mattkriese7170
@mattkriese7170 8 месяцев назад
I'm currently looking at this. It appears that those lines of code use a few things that our MacBooks don't have which is access to an opensource software called active-x. In my case I am also missing a crucial reference as an option as well. I really want this feature so I'll be digging for a work around. Part of me wants to believe that I should have downloaded a windows emulator from the get-go and installed the windows version of excel there. Cross-platform programs are usually almost always better on the native OS that they were created on it seems. Anybody find a workaround for this?
@InsideMyWall
@InsideMyWall 2 года назад
How to send the mail selectively in a distribution list based on checkbox selection? Also how to zip the file as an attachment and mail via Outlook.
@thomashart5081
@thomashart5081 Год назад
I’ve found that if the customer table doesn’t have all sections filled in about a customer they show up on the invoice as zeroes instead as blank like it does when no customer is selected and your method to remove the N/A. How do I resolve this issue ? Thanks
@VuTrungKienFPLHN-om9kp
@VuTrungKienFPLHN-om9kp 2 месяца назад
Watching the video, I still find it difficult to refer to the emPL software that sends receipts and salary slips automatically via email or Zalo.
@azeembscs4764
@azeembscs4764 2 года назад
Amazing, but my question is that, there is no opion to open gmail dialog box in excel and reply to given user. Any trick with VBA OR NOT
@sameulyu4339
@sameulyu4339 19 дней назад
Dear Mr. Tugwell, I've followed every step of your video and I've check my scrip is 100% same as yours. Anyway, it cannot send the PDF file via email when I run the marco. It displays only desipte I have amended "Display" to "Send". Please kindly let me know what did I missed or made mistake ? Thank you very much.
@trcrypto3755
@trcrypto3755 10 месяцев назад
Mr. Chester, when I push the macro buttons to record in my record of invoice sheet. It records the invoice, but it creates a new line for each macro I push. It doesn't put all the information for each macro on one line. Can you please help?
@broekhuizencommunicatie1675
Thank you very much. How can I make it work on Mac it everything work good only the email is not working even if I install outlook error ActiveX component can't create object, Can you help me with this? Thanks in advance
@nicodem4rco
@nicodem4rco Год назад
Having the same issue. Could you fix it?
@jerrickmay9263
@jerrickmay9263 Год назад
I really like this idea and the functionality behind it. However, I am having issues getting the macros to work. (I am positive it is my own lack of knowledge). I can't seem to get the "Save as .xlsx", "Save as pdf", or "Email as pdf" buttons to work. If anyone is willing to help me get this set up, I would be extremely grateful.
@anandkumarmuthuswamy7324
@anandkumarmuthuswamy7324 Год назад
Hi!. I am getting an error in the vba statement Set EItem = EApp.CreateItem(0). could you please clarify
@EnigmaFarmer
@EnigmaFarmer Год назад
Hi Chester, these videos are amazing and I have so enjoyed creating my invoices along with the videos, thank you so much for sharing. I was just wondering if there is a way that all the Record of Invoices boxes can be filled in with one button, so that all the invoice info, Invoice saved as PDF, Invoice saved as excel file and invoice emailed date, are done in one go, Thank you again for the information and videos
@ChesterTugwell
@ChesterTugwell Год назад
Hi. Thanks. You could create another macro that called each macro in turn. Eg Call Macro Name
@EnigmaFarmer
@EnigmaFarmer Год назад
Thank you for the Reply, do you have a video showing how to set up calling for a macro name, and is it possible to change the path lines to save on OneDrive.
@clintonkraft3705
@clintonkraft3705 10 месяцев назад
Can you show us how to do this? @@ChesterTugwell
@rosieval6994
@rosieval6994 6 месяцев назад
Mr. Chester, My name is Rosie. I have a problem with this macro. When I tried running it, my malwarebytes blocked it. It detected an exploit and I couldnt run the macro
@alabamaperformancetint4620
@alabamaperformancetint4620 6 месяцев назад
When mine makes the pdf, it is a mess of letters, you can't even read it. Can you advise me?
@tharindumanojpriya8365
@tharindumanojpriya8365 Год назад
I created my own bulk invoicer for my business by watching this 6 videos. I got a trouble at last step which is making the EApp defining and object creation. There is a error cord debugging this Epp object creating. Please kindly help me.
@clintonkraft3705
@clintonkraft3705 10 месяцев назад
With sending via email, how do I code it for gmail and not outlook?
@BurnLai
@BurnLai 7 месяцев назад
Can I use gmail instead of outlook, sir?
@piercethompson9522
@piercethompson9522 Год назад
Can anybody tell me why this comes up with an error saying it cannot find the file?
@fransvandoorn1777
@fransvandoorn1777 Год назад
Goede avond. ben bezig met email pdf ik gebruik gmail. hoe kan ik de vba code aanpassen? met Set Eapp = CreateObject("Outlook.Applcation") lukt het niet. Heb ook op de link gekeken maar daar kan ik geen wijs uit worden. Ik zie u antwoord graag tegemoet
@chasingwhitelines
@chasingwhitelines Год назад
So if I do not have the Outlook application and only have MailandCalendar how do I go about setting that MailandCalendar as the application?
@chasingwhitelines
@chasingwhitelines Год назад
More specifically I'm getting an error ActiveX component can't create object and it is on the line of Set Eapp when creating the Outlook App.......
@Space_overse
@Space_overse 5 месяцев назад
I did this and the email is not going through... i send it and i never recieved it... is it because it is an html?
@christopherbaker9442
@christopherbaker9442 Год назад
Have loved this series/playlist, but have run into a snafu that doesn't seem to have an answer in the comments...how to send the pdf if it's going to be used on a Mac? I'm assuming the code is different and is probably also running into the walls of the sandboxing?
@ChesterTugwell
@ChesterTugwell Год назад
I am afraid I am not a Mac user so I can't help.
@rosieval6994
@rosieval6994 6 месяцев назад
I'm using Gmail. Still can't figure the code out
@user-hm3tj2ug4m
@user-hm3tj2ug4m 2 года назад
how do you use gmail instead of outlook application.
@user-hm3tj2ug4m
@user-hm3tj2ug4m 2 года назад
because my outlook is not working
@dynfanhifi1733
@dynfanhifi1733 Год назад
It does not work on a MAC machine. Microsoft note "Outlook for Mac and OneNote for Mac don't support VBA." Is there a way to overcome this. Thanks
@rosieval6994
@rosieval6994 6 месяцев назад
Yes it will. First save your workbook (file) to macro. Xlsm. Then go to the trust center in your Excel file menu
@byronpantoja6959
@byronpantoja6959 5 месяцев назад
How? please share@@rosieval6994
@kailashsoni676
@kailashsoni676 Год назад
How to send pdf file of invoice via whatsapp
@marcellasanchez1121
@marcellasanchez1121 9 месяцев назад
I tried this, but i keep getting an error with the "invno = Range("#"). Also, can I use this with AT&T Yahoo.Mail?
@_Classiq
@_Classiq Год назад
I love this videos but I am in dire need of help pleaseee! I am using a Mac book so I decided to use the mail application instead of outlook. I am using the code below but the pdf is not attaching to the email. I am not sure what I am doing wrong Sub SaveAsPdfAndSendEmail() Sub SaveAsPdfAndSendEmail() Dim path As String Dim invno As Long Dim custname As String Dim fname As String Dim amt As Currency Dim dt_issue As Date Dim term As Variant ' Set the file path and other variables path = "/users/keenyabrowne/desktop/steven file/" invno = Range("C3").Value custname = Range("B8").Value fname = invno & " - " & custname ' Construct the AppleScript code Dim applescriptCode As String applescriptCode = "tell application ""Mail""" & vbNewLine applescriptCode = applescriptCode & "set Eitem to make new outgoing message with properties {subject:""Invoice for: " & custname & """, content:""Please see attached From, SM.""}" & vbNewLine applescriptCode = applescriptCode & "tell Eitem" & vbNewLine applescriptCode = applescriptCode & "make new to recipient at end of to recipients with properties {address:""" & Sheets("Invoice for Printing").Range("B12").Value & """}" & vbNewLine applescriptCode = applescriptCode & "tell content" & vbNewLine applescriptCode = applescriptCode & "make new attachment at after last paragraph with properties {file name:""" & path & fname & ".pdf""}" & vbNewLine applescriptCode = applescriptCode & "end tell" & vbNewLine applescriptCode = applescriptCode & "end tell" & vbNewLine applescriptCode = applescriptCode & "activate" & vbNewLine applescriptCode = applescriptCode & "end tell" ' Execute the AppleScript code MacScript (applescriptCode) End Sub
Далее
Китайка Шрек всех Сожрал😂😆
00:20
The lightweights ended Round One with a BANG 💪
00:10
EASILY Make an Automated Data Entry Form in Excel
14:52
Excel VBA Macro: Send Email (with Attachment)
8:55
Просмотров 58 тыс.
Send Email Invoices from Excel (in PDF format)
9:24
Просмотров 12 тыс.
How to Create & Use Excel Macros (Real world example)
10:09
ЗДОРОВАТЬСЯ НЕ УЧИЛИ… или?
0:14