Adding graphical signatures to Excel worksheet

Cornofsky

New Member
Joined
Nov 27, 2005
Messages
1
Is it possible to add a signature (not an electronic one, but a visible signature using a jpg or gif file) to a worksheet by way of entering a password; or similar.

Here is an example of what I am trying to do:

- a user agrees with a report and wants to sign it (in the same way they would do on a paper form).
- the worksheet can then be printed/distributed with the signature visible.

Signature should appear in the same way as their normal handwritten signature.

I know it can be done by inserting a file manually, but wish to automate this process so the correct signature appears depending on who "signs" the worksheet.

Any assistance is appreciated.

Cornofsky
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi Cornofsky,

Yes, this is possible. It requires a bit of VBA code, as well as a table of user names and corresponding passwords. The table could be hard-coded into the VBA code if the number of users is not too large (say, a dozen or so), and the code (and thus the table) protected from view by password-protecting the VBAProject. The current user's name can be obtained from the Excel Application.UserName property--but beware that some users don't have the discipline to enter their names when they first use Excel on a given computer, and thus their name will appear as a default organization name. You would have to ask each user to tell you what their Excel UserName is, and if they don't have one explain how to set it (Tools > Options > General > User Name field. It is important that they tell you the precise text string that they entered as their user name, complete with embedded spaces, periods, etc.

An alternative to using the Excel UserName property (which is an easily readable name like "John M. Smith") is to use the users' login names, but these may not be as clearly readable (might be something like "smithjm"), and require using a Windows API to obtain.

The table of user names and passwords should also include a filename for the corresponding gif file that will be pasted into the worksheet.

This problem is a bit big for a complete response on this board, but if you break the problem into bite-sized pieces and post each one you can probably piece together a complete solution.

I hope this helps.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,823
Members
449,049
Latest member
cybersurfer5000

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