Challenge

Project 2 - Create a report using PowerQuery, Macro VBA, List Functions and Data Validation functions for Data Reporting of Supply Chain Management companies

Create VBA Code to convert selected data into pdf from applicant data

Sub ConvertSelectedDatatoPDF()

'Declare variables

Dim applicantData As Range

Dim pdfFile As String

Set applicantData = Selection

pdfFile = Application.GetSaveAsFilename(IntialFileName:=applicantData.Rows(1).Range("A1").Value & "_ApplicantData_" & Format(Now(), "yyyymmdd_hhmmss") & ".pdf" , FileFilter:="PDF Files (*.pdf), *.pdf", Title:="Select Folder and File Name to Save as PDF")

If pdfFile <> "Flase" Then

    applicantData.ExportAsFixedFormat Type:x1TypePDF, Filename:=pdfFile, Quality:=x1QualityStandard, IgnorePrintAreas:=False, OpenAfterPublish:=True

End if 

End Sub

Check spelling mistakes in the workbook using VBA code

Sub CheckSpelling()

Dim ws As Worksheet

For Each ws In ThisWorkbook.Worksheets

ws.Cells.CheckSpelling

Next ws

End Sub

project link please check it

https://docs.google.com/spreadsheets/d/1olkHpxnabhCSndFyJmEVnQkbIjJ5_ZC6/edit?usp=sharing&ouid=109176739397444512676&rtpof=true&sd=true

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.