Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

Ctrl+P Password protecting excel document

Good morning,
Got a weird one where one of our financial guys when he presses CTRL+P instead of printing the document password protects it, however I cannot find where it is.

Apparently my colleague has already tried removing add-ins, starting in safe-mode and checking that there are no VBA scripts in and nothing seems to be installed but it still happens.

Apparently my colleague has also tried uninstalling and re-installing Microsoft office and the problem still exists. The solution we have at the moment is to re-install windows completely, but obviously this is a last resort.

Does anyone  have any suggestions of where this CTRL+P would be hiding where I haven't looked yet?

Thank you
Avatar of Flora Edwards
Flora Edwards
Flag of Sweden image

did you check the keyboard?  when you press P in notepad. does it give P? or any other letter?
you can also run the below macro to reset the Control P

Sub test()
    Application.OnKey "^p"
End Sub
ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Immediate Window:

Application.EnableEvents = FALSE

See if Ctrl+P does anything then.
Avatar of Santosh Gupta
Santosh Gupta

Hi Dear,

You can import Excel customization file of other system.
If the workbook is on a server, what happens when you try it?  If it's on your colleague's PC, can he send it to you to see what happens when you try it on your PC?