VBA Code to Get PDF of Salary Slip and Send it through Email

  Рет қаралды 59,055

12th Analytics

12th Analytics

7 жыл бұрын

In this video, I will show you how to get the pdf of excel worksheet and send it through email using outlook

Пікірлер: 91
@doobiegirl09
@doobiegirl09 2 жыл бұрын
Super thank you sir you do not know how much you made my work easier from making payslip manually for two days after payroll to one day only thank you never stop doing such videos very simple and concrete explanation
@thres34
@thres34 6 жыл бұрын
Big thank you sir, your video made my task much easier.
@user-bo3gl9wb4j
@user-bo3gl9wb4j 5 ай бұрын
Really helpful tutorial. I subscribed!
@slamatale5480
@slamatale5480 7 жыл бұрын
Great work,
@DavidAntwiBoasiako
@DavidAntwiBoasiako 3 жыл бұрын
Thank you very much once again.
@sorinpetcu7503
@sorinpetcu7503 Жыл бұрын
Great vb code. I have saved a lot of time. 😀 Thank you
@12thAnalytics
@12thAnalytics 11 ай бұрын
Glad it helped!
@TheRajKusum
@TheRajKusum 5 жыл бұрын
very helpful. thank you.
@manojkumarpatel1131
@manojkumarpatel1131 3 жыл бұрын
Ek no. Bro thank you so much❤
@mohamedsulfiker.m.y9914
@mohamedsulfiker.m.y9914 3 жыл бұрын
Thankyou sir for this lesson
@lamphokeopanya9831
@lamphokeopanya9831 5 жыл бұрын
Thanks man
@oudomang5613
@oudomang5613 5 жыл бұрын
Really appreciated, such a helpful tool, if possible, I would like to know how to design more attractive body email.
@rangaswamys
@rangaswamys 4 жыл бұрын
Thank you very much for the video, it is really helpful. Can you pleas help me to deal with the case where the employees have left and there is no continuous employee ids?
@nyamdulamnyamjav77
@nyamdulamnyamjav77 6 жыл бұрын
Thank you very much for the video, Can use Gmail instead of outlook?
@mamah88
@mamah88 6 жыл бұрын
hi. Our company does not use the outlook email client but use lotus notes email client instead. Will it be possible to do this with lotus notes also? Your reply will be very much appreciated.
@jennyyap3839
@jennyyap3839 3 жыл бұрын
I have a problem on this. When i click F8 "Sheet1.ExportAsFixedFormat xlTypePDF, ThisWorkbook.Path & "\" & Filename". I'm encountering an error that says " Document not saved. The document may be open, or an error may have been encountered when saving"
@asadulislamasad4985
@asadulislamasad4985 2 жыл бұрын
Thanks sir ji
@mahmudshopan6004
@mahmudshopan6004 3 жыл бұрын
if someone's Traveling Allowance is ZERO then i want to his whole RAW would be deleted. is it possible ? I don't want to show him/her if he/she don't get that allowance.
@miki_5914
@miki_5914 2 ай бұрын
sir, when i test the program there is an error massage Run Time Error '438': Object doesn't Support this property or method (Attachment Add). on reference I use outlook 14.0 object library. is it only supported by microsoft outlook 16.0 object library?
@danielkwesiyanney4852
@danielkwesiyanney4852 6 жыл бұрын
please can you show me me from the beginning how you came up with the salary slip .thank you
@karthikkv9735
@karthikkv9735 4 жыл бұрын
Hi Sir, how to remove blank fields in the mail merge ? For example: Employee 'A' has Conveyance of Rs. 2K ans it shld reflect in the payslips. But employee 'B' doesn't have conveyance and the field should not reflect in the payslip. How to do that in the Excel Word Mail merge ?
@sumit_singh684
@sumit_singh684 5 жыл бұрын
How can I run these macro on ms office 2007 as I it is not working there?
@nhatlinhnguyen8823
@nhatlinhnguyen8823 3 жыл бұрын
Thanks for such a helpful tutorial, but do you know how to creat a password for each attachment?
@MrKisspie
@MrKisspie 5 жыл бұрын
Is there a way to loop without pressing f8?
@hassanjatta4257
@hassanjatta4257 3 жыл бұрын
Awesome tutorial. Please share the code.
@jayshrimishra3350
@jayshrimishra3350 6 жыл бұрын
Very nice macro, Dim filename as string to be added
@narayanareddygade3451
@narayanareddygade3451 6 жыл бұрын
Hi can you please send this macro working for this VBA creation, please send me the working to my email id narayana142712@gmail.com.Please, please
@jennyyap3839
@jennyyap3839 3 жыл бұрын
How about if we use Gmail instead of Outlook?
@abdullahquhtani4247
@abdullahquhtani4247 6 жыл бұрын
Great. Can you do some modifications on this code to match my needs?! I will pay for those modifications. Kindly reply if you are interested. Thank you.
@12thAnalytics
@12thAnalytics 6 жыл бұрын
Hi Abdullah! Thanks for your consideration. Yes, I would love to work on that. Please respond at 12thAnalytics@gmail.com
@AbdullaKhizamworld
@AbdullaKhizamworld 5 жыл бұрын
@@12thAnalyticshey could you please share me you correct email as I haved the following mail but never responded. I have been trying to know small modification as to send Excel file not PDF. please reply
@slamatale5480
@slamatale5480 7 жыл бұрын
How to delete exported .pdf files automatically after sending all email?
@ssconsult3791
@ssconsult3791 3 жыл бұрын
I have error during this line Set Omail = Oapp.CreateItem(0) what is solution
@manasimalekar2293
@manasimalekar2293 5 жыл бұрын
If salary head not same to everyone how to generate payslip
@homrajshrestha3338
@homrajshrestha3338 Жыл бұрын
Very helpful, how to add automatic password to the pdf file of every payslip
@priyanthagamini3860
@priyanthagamini3860 Жыл бұрын
Sir can you please explain me how to apply password for each salary slip in VBA to pdf file
@markraveneilmartinez305
@markraveneilmartinez305 3 жыл бұрын
Hi user defined not defined error how can I solve this thanks
@sreejondey1917
@sreejondey1917 4 жыл бұрын
Having run time error 1004 Pls fix this i am using ms office 2010
@9901028711
@9901028711 4 жыл бұрын
Kindly send the VBA spreadsheet I would be great to learn the VBA Code via Excel spreadsheet.
@AbdullaKhizamworld
@AbdullaKhizamworld 5 жыл бұрын
Thanks for this. Could you explain me if I wanna send xls file instead of PDF.
@ashrafalhussain5093
@ashrafalhussain5093 5 жыл бұрын
Hi if you aware please share with us
@AbdullaKhizamworld
@AbdullaKhizamworld 5 жыл бұрын
@@ashrafalhussain5093 still unable to figure it out. even learning to get it but hope someone help me out soon.
@imranashraf2530
@imranashraf2530 6 жыл бұрын
help plz accutly i have multi path like 5 country names folders so each invoice save according to country folder as i have done 'for PDF file save If Range("F26").Value = "Italy" Then Sheet1.Range("B3:K60").ExportAsFixedFormat xlTypePDF, Filename:= _ "C:\Italy\" & Sheet1.Range("J15").Value, OpenAfterPublish:=True End If like above 5 times repeat the codes but my problem is how can i attached patch as attachment in outlook because i have 5 folders path .i want the path to pic the file auto from there own country folder .many thanks
@12thAnalytics
@12thAnalytics 6 жыл бұрын
Hi Imran sorry for late reply. Is your issue still exist. I will share the solution, if you have the issue.
@imranashraf2530
@imranashraf2530 6 жыл бұрын
yes please share
@raghuram45
@raghuram45 6 жыл бұрын
Hi If we want to give the file name as following payslip month Ex: Jan 2017 or Dec 2017, what we have to do. please help.
@mamah88
@mamah88 6 жыл бұрын
L
@ghadeersaad8810
@ghadeersaad8810 7 ай бұрын
How to send it by WhatsApp??
@corisehealthcare7956
@corisehealthcare7956 6 жыл бұрын
getting Runtime error '5' Sheet2.ExportAsFixedFormat xlTypePDF, ThisWorkbook.Path & "\" & Filename please help m trying to create automated salary slip of my office
@punyashlokahilyadeviholkar5019
@punyashlokahilyadeviholkar5019 4 жыл бұрын
I have also same problem sir. Have you got solution ?
@jennyyap3839
@jennyyap3839 3 жыл бұрын
I've also encountered this problem. It says " Document not saved. The document may be open, or an error nay have been encountered when saving". Can you help me with this?
@gganaggene6906
@gganaggene6906 6 жыл бұрын
Can I escape pdf creation and email sending to the users from the list that don’t have an email address? If so what function will be used?
@12thAnalytics
@12thAnalytics 6 жыл бұрын
Hi Gana, please use below code to skip creating emails for employees having no email address. Sub PrintSalarySlips() Dim Oapp As Outlook.Application Dim Omail As Object a = 1 Do While a
@TanmoyDaw
@TanmoyDaw 6 жыл бұрын
Twelfth Analytics Sir, PDF generation function is not working its Run Time Error Invalid Procedure cell or argument.!! Kindly advice??
@globalfoundry2912
@globalfoundry2912 7 жыл бұрын
giving an error Run-time error '5' Invalid procedure call or argument. at export as fixed format row ???
@himabeah2181
@himabeah2181 5 жыл бұрын
Me too
@suranjithkhrishantha6997
@suranjithkhrishantha6997 5 жыл бұрын
Me tooo
@vv9730
@vv9730 2 жыл бұрын
how to use gmail instead of outlook..????
@cpkanojiya
@cpkanojiya 3 жыл бұрын
Please share this excel file. This is very useful and powerfull.
@Nextwhatguru
@Nextwhatguru 6 жыл бұрын
Excellent micro, i had the same for salary slips but unfortunately getting error at .Attachments.Add (ThisWorkbook.Path & "\" & Filename) Error Code: 2147024894 (80070002) Cannot find this file. Verify the path and file name are correct. So what's the solution for this.
@Nextwhatguru
@Nextwhatguru 6 жыл бұрын
and its working well without attachment.
@sharmajisuperhit
@sharmajisuperhit Жыл бұрын
Could you please share VBA code text?
@sivabharath9478
@sivabharath9478 4 жыл бұрын
Error 438, how to overcome it
@amazon5665
@amazon5665 4 ай бұрын
highly appreciated if u could share vba code here
@talalbalexco7172
@talalbalexco7172 6 жыл бұрын
Dear is there any way to ass a password protection to each PDF
@user-ex2cs8us5j
@user-ex2cs8us5j 6 жыл бұрын
I would also like to know how to generate this.
@SanviPatil2019
@SanviPatil2019 3 жыл бұрын
Plz.upload this payroll excel vba file.. for download
@narayanareddygade3451
@narayanareddygade3451 6 жыл бұрын
Hi sir can you please send me this excel me....it is the great to help to my future
@karthikswaminathan1124
@karthikswaminathan1124 7 жыл бұрын
Good work. How do I contact you ?
@12thAnalytics
@12thAnalytics 6 жыл бұрын
Hi! Thanks. Sorry for late reply. You can contact me at 12thAnalytics@gmail.com
@septaputra9315
@septaputra9315 2 жыл бұрын
Bagaimana supaya pdf nya berpassword ? Ada kode vba nya apa tidak ya ?
@hradmin8805
@hradmin8805 4 жыл бұрын
how do VBA Code to Get PDF of Salary Slip and Send it through whatapp
@appu331
@appu331 5 жыл бұрын
Video is stuckk
@soohailakhtar
@soohailakhtar 6 жыл бұрын
Dear sir , I have a question I have a Sheet with 3 columns Column A =EMPLOYEE ID,i.e 10000-1 Column B=PAYMENT CODES,(101,102,103,304,305,306) column c= Amount i.e (100000,12000,1000,500,20000,3000) Slip sheet and during printing slip programm print Basic Pay (read 101 as Basic pay and other codes) EARNING SIDE i.e (101,102,103) 101 = BASIC PAY, 102=OTHER INC AND 103=PETROL, DEDUCTION SIDE i.e (304,305,306) 304=tax, 305=loan,and 306=EOBI , Earnings Amount Deductions Amount Basic Pay 100000 Tax 500 Other Income 12000 Loan 20000 Petrol 1000 EOBI 3000 Sub Total 113000 23500 Net Pay 89500 If a employee does not have a earning code for example (Petro=306) than its skip and dont show during printing slip and do not show in slip and than print this slip do you have such type of vba code.
Automation: Send bulk emails using VBA and Outlook
13:35
PK: An Excel Expert
Рет қаралды 237 М.
VBA Code to Automate Salary Slips
15:33
12th Analytics
Рет қаралды 47 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,3 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 49 МЛН
How to Create Automated Pay Slip in Excel and Save PDF Copy
17:38
Excel 10 tutorial
Рет қаралды 43 М.
How To Automatically Create And Send Salary Slips Using Google Sheets
33:46
Automation Made Easy
Рет қаралды 31 М.
Automate Excel To PDF & Send PDF Document As Mail Attachment
13:26
Dinesh Kumar Takyar
Рет қаралды 229 М.
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 371 М.
Automate printing Payslips and Salary slips
32:24
Ajay Anand
Рет қаралды 11 М.
Automate payslip in PDF on one click in Excel
29:45
B for Basic
Рет қаралды 9 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,3 МЛН