![]() |
Disable paste special attributes
I have a spreadsheet that I only want users to paste data using "paste
special - values". I have disabled the "paste" selection from all the menus when the spreadsheet is active. I would like to disable all the functions(features, radio buttons) inside the "paste special" box, except for "values" , when it is displayed to the user so they do not have the option to paste incorrectly. I disabled the paste menu functions using: Dim Ctrl As Office.CommandBarControl For Each Ctrl In Application.CommandBars.FindControls(ID:=22) Ctrl.Enabled = True Next Ctrl Is there a simular command that can only allow me to select "values" on the "paste special" selection box? Thanks |
Disable paste special attributes
Hello Hippy, The Paste Special dialog doesn't expose any events, properties, or methods through VBA. The dialog is launched by the built-in ID. Once the dialog os up the only thing you can do is Click on a control. Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=497049 |
All times are GMT +1. The time now is 09:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com