Hi All
PLEASE HELP!!
I'm trying to disable my 'Print' button on the toolbar, to force users to 'validate' the information on a sheet before it's printed....
Application.CommandBars("Standard").Controls("Print (\\NPR0042SFO\H4130SFO)").Enabled = False
Here, the command works fine, but the control name has to contain the full path of my printer to work! If this is used by someone else connected to a different printer, it will fail.
How can I get this to work for everyone? Would I need to find the name of everyone's printer first (I would need help with this), or could I use a wildcard 'Print*'?
Can anyone help? Thanks.