Capture Signature in Excel Form

grabrail

Board Regular
Joined
Sep 6, 2010
Messages
128
Office Version
  1. 365
Platform
  1. Windows
Hi, I am looking to create a form in excel (moving away from paper forms) where we need a candidate to sign their name.

The solution I am looking at, is to buy USB scribble pads for each of our instructors, and this is used to do their signature, this would be done on a pop up form.

What I am struggling to get my head around is once they have signed the box, how does the signature "Object/Image" populate the value of the box? So, once they submit, it can be populated in the correct place on the main form?

Im trying to avoind the digital sinature route if possible, but this is not fully discounted yet.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Ive managed to get what I need.

If anyone else is interested in achieving a similar scenario.

I created a form, and on the tool box in VBA editor, choose additional controls. Scroll down the list and select Microsoft InkPicture Control

On your form you can add an inkpicture box, which will allow for drawing in.

I added the following code

VBA Code:
Private Sub CommandButton1_Click()

Worksheets(ActiveSheet.Name).Range("i11").Select

Me.InkPicture1.Ink.ClipboardCopy
ActiveSheet.Paste
Set newImg = Selection
With newImg

.Name = "Signature"
End With

UserForm1.Hide

End Sub

Private Sub InkPicture1_Stroke(ByVal Cursor As MSINKAUTLib.IInkCursor, ByVal Stroke As MSINKAUTLib.IInkStrokeDisp, Cancel As Boolean)

End Sub

Private Sub UserForm_Activate()
    
    Me.InkPicture1.Ink.DeleteStrokes

End Sub

This is all controlled from an activex button on the excel worksheet.

when you click the submit button after drawing your signature, it will copy that ink to the selected cell in the code above (i11)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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