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

  Рет қаралды 60,946

12th Analytics

12th Analytics

Күн бұрын

Пікірлер: 91
@doobiegirl09
@doobiegirl09 3 жыл бұрын
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
@sorinpetcu7503
@sorinpetcu7503 Жыл бұрын
Great vb code. I have saved a lot of time. 😀 Thank you
@12thAnalytics
@12thAnalytics Жыл бұрын
Glad it helped!
@AbChanAeri
@AbChanAeri 9 ай бұрын
Really helpful tutorial. I subscribed!
@miki_5914
@miki_5914 5 ай бұрын
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?
@nyamdulamnyamjav77
@nyamdulamnyamjav77 6 жыл бұрын
Thank you very much for the video, Can use Gmail instead of outlook?
@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"
@rangaswamys
@rangaswamys 5 жыл бұрын
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?
@homrajshrestha3338
@homrajshrestha3338 2 жыл бұрын
Very helpful, how to add automatic password to the pdf file of every payslip
@thres34
@thres34 7 жыл бұрын
Big thank you sir, your video made my task much easier.
@nhatlinhnguyen8823
@nhatlinhnguyen8823 3 жыл бұрын
Thanks for such a helpful tutorial, but do you know how to creat a password for each attachment?
@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.
@mahmudshopan6004
@mahmudshopan6004 4 жыл бұрын
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.
@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
@ghadeersaad8810
@ghadeersaad8810 11 ай бұрын
How to send it by WhatsApp??
@oudomang5613
@oudomang5613 6 жыл бұрын
Really appreciated, such a helpful tool, if possible, I would like to know how to design more attractive body email.
@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 ?
@manojkumarpatel1131
@manojkumarpatel1131 3 жыл бұрын
Ek no. Bro thank you so much❤
@jayshrimishra3350
@jayshrimishra3350 7 жыл бұрын
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
@DavidAntwiBoasiako
@DavidAntwiBoasiako 3 жыл бұрын
Thank you very much once again.
@danielkwesiyanney4852
@danielkwesiyanney4852 6 жыл бұрын
please can you show me me from the beginning how you came up with the salary slip .thank you
@priyanthagamini3860
@priyanthagamini3860 2 жыл бұрын
Sir can you please explain me how to apply password for each salary slip in VBA to pdf file
@MrKisspie
@MrKisspie 6 жыл бұрын
Is there a way to loop without pressing f8?
@slamatale5480
@slamatale5480 7 жыл бұрын
Great work,
@mohamedsulfiker.m.y9914
@mohamedsulfiker.m.y9914 4 жыл бұрын
Thankyou sir for this lesson
@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.
@asadulislamasad4985
@asadulislamasad4985 2 жыл бұрын
Thanks sir ji
@sumit_singh684
@sumit_singh684 5 жыл бұрын
How can I run these macro on ms office 2007 as I it is not working there?
@ssconsult3791
@ssconsult3791 4 жыл бұрын
I have error during this line Set Omail = Oapp.CreateItem(0) what is solution
@jennyyap3839
@jennyyap3839 3 жыл бұрын
How about if we use Gmail instead of Outlook?
@9901028711
@9901028711 4 жыл бұрын
Kindly send the VBA spreadsheet I would be great to learn the VBA Code via Excel spreadsheet.
@cpkanojiya
@cpkanojiya 3 жыл бұрын
Please share this excel file. This is very useful and powerfull.
@amazon5665
@amazon5665 8 ай бұрын
highly appreciated if u could share vba code here
@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
@TheRajKusum
@TheRajKusum 5 жыл бұрын
very helpful. thank you.
@hassanjatta4257
@hassanjatta4257 3 жыл бұрын
Awesome tutorial. Please share the code.
@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?
@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
@markraveneilmartinez305
@markraveneilmartinez305 3 жыл бұрын
Hi user defined not defined error how can I solve this thanks
@manasimalekar2293
@manasimalekar2293 5 жыл бұрын
If salary head not same to everyone how to generate payslip
@gganaggene6906
@gganaggene6906 7 жыл бұрын
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 7 жыл бұрын
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??
@vv9730
@vv9730 2 жыл бұрын
how to use gmail instead of outlook..????
@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.
@slamatale5480
@slamatale5480 7 жыл бұрын
How to delete exported .pdf files automatically after sending all email?
@imranashraf2530
@imranashraf2530 7 жыл бұрын
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 7 жыл бұрын
Hi Imran sorry for late reply. Is your issue still exist. I will share the solution, if you have the issue.
@imranashraf2530
@imranashraf2530 7 жыл бұрын
yes please share
@talalbalexco7172
@talalbalexco7172 6 жыл бұрын
Dear is there any way to ass a password protection to each PDF
@TimKanya
@TimKanya 6 жыл бұрын
I would also like to know how to generate this.
@sharmajisuperhit
@sharmajisuperhit 2 жыл бұрын
Could you please share VBA code text?
@sreejondey1917
@sreejondey1917 5 жыл бұрын
Having run time error 1004 Pls fix this i am using ms office 2010
@lamphokeopanya9831
@lamphokeopanya9831 5 жыл бұрын
Thanks man
@septaputra9315
@septaputra9315 2 жыл бұрын
Bagaimana supaya pdf nya berpassword ? Ada kode vba nya apa tidak ya ?
@SanviPatil2019
@SanviPatil2019 3 жыл бұрын
Plz.upload this payroll excel vba file.. for download
@hradmin8805
@hradmin8805 4 жыл бұрын
how do VBA Code to Get PDF of Salary Slip and Send it through whatapp
@karthikswaminathan1124
@karthikswaminathan1124 7 жыл бұрын
Good work. How do I contact you ?
@12thAnalytics
@12thAnalytics 7 жыл бұрын
Hi! Thanks. Sorry for late reply. You can contact me at 12thAnalytics@gmail.com
@narayanareddygade3451
@narayanareddygade3451 6 жыл бұрын
Hi sir can you please send me this excel me....it is the great to help to my future
@sivabharath9478
@sivabharath9478 5 жыл бұрын
Error 438, how to overcome it
@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.
@appu331
@appu331 5 жыл бұрын
Video is stuckk
Automatically Create & Send Salary Slip PDF Every Month
28:52
Excel VBA Macro: Send Email (with Attachment)
8:55
greggowaffles
Рет қаралды 60 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 124 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 195 МЛН
VBA Code to Automate Salary Slips
15:33
12th Analytics
Рет қаралды 47 М.
Send Mail From Excel via Outlook
6:19
Excel Macro Mania
Рет қаралды 124 М.
How I Made 2 VBA Applications Run Ultrafast
11:36
Excel Macro Mastery
Рет қаралды 55 М.
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 765 М.
How To Automate Payroll Using Excel Macros
17:15
Automation Made Easy
Рет қаралды 4,5 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 124 МЛН