Encrypt CC Data within a spreadsheet

hb

New Member
Joined
Apr 27, 2007
Messages
4
I have an issue with multiple workbooks, with multiple spreadsheets that have columns that include credit card data that I would like to encrypt via a macro. I cannot use the spreadsheet password encryption as many people need to access the spreadsheet and be able to reference the last 4 digits of the cc. The cc info is in more than one worksheet so I would like to build a macro that searches the work book for a cell that contains 15 or 16 characters and encrypts or deletes all but the last 4 digits and save this to personal project to use on many workbooks. Does anyone know if this is possible?

Greatly appreciated!

Cheers,
hb
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
So do you want the complete card number saved somewhere, or replaced permanently with:

XXXX-XXXX-XXXX-4178

?
 
Upvote 0

Forum statistics

Threads
1,224,584
Messages
6,179,691
Members
452,938
Latest member
babeneker

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