Excel checklist with buttons

phillip87

Board Regular
Joined
Jan 28, 2019
Messages
69
I currently have workers filling in paper check sheets for their vehicles which i can only get hold of at the end of each week, this puts me behind and has poor visibility on paperwork completion.

I am trying to put together a data sheet each person could fill in.

This needs a drop down menu so they can choose their vehicle and then a checklist with buttons going down the side to confirm they have check, i would then like to have a button at the bottom to save the sheet into folder.

i am stuck as to where to begin.
 
Have you assigned the MM1 macro to the button ??
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I have the following macro working but i need it to save the file based on both cell B7 and C10, the button stops working whenever i try to add cell C10 into the macro.

Private Sub SaveasPDF_Click()
'for invoice number
Sheet1.Range("C32").Value = Sheet1.Range("C32").Value + 1
'for PDF file save
Sheet1.ExportAsFixedFormat xlTypePDF, Filename:= _
"C:\Users\Kiri\Desktop\test workbook" & Sheet1.Range("B7").Value, openafterpublish:=True
'for clear sheet
Sheet1.Range("C10:C21").ClearContents
Sheet1.Range("C24:C31").ClearContents
End Sub
 
Upvote 0
This is my cade, it is currently working as it should but it will only save the PDF with info from B7 (machine number). I cannot figure out how to also have it use info from C10 (date).

Private Sub SaveasPDF_Click()
'for sheet number
Sheet1.Range("C32").Value = Sheet1.Range("C32").Value + 1
'for PDF file save
Sheet1.ExportAsFixedFormat xlTypePDF, Filename:= _
"K:\Health & Safety\Penrose\Machine check sheet" & Sheet1.Range("B7").Value, openafterpublish:=True
'for clear sheet
Sheet1.Range("C10:C21").ClearContents
Sheet1.Range("C24:C31").ClearContents
End Sub
 
Upvote 0
Try

Code:
Private Sub SaveasPDF_Click()
'for invoice number
Sheet1.Range("C32").Value = Sheet1.Range("C32").Value + 1
'for PDF file save
Sheet1.ExportAsFixedFormat xlTypePDF, Filename:= _
"C:\Users\Kiri\Desktop\test workbook" & Sheet1.Range("B7").Value & Sheet1.Range("B10").Value, openafterpublish:=True
'for clear sheet
Sheet1.Range("C10:C21").ClearContents
Sheet1.Range("C24:C31").ClearContents
End Sub
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top