Question : design mode in excel

hi - id like to have a button that puts a worksheet into design mode without going to Control tool box and clicking on the blue triangle. ive put a line of code below that brings up the tool bar - is there code to just put the sheet into design mode and then code to exit design mode once data has been added? pete
Code Snippet:
1:
Application.CommandBars("Control Toolbox").Visible = True

Answer : design mode in excel

Hi pete47,

Try this to enter Design Mode:

    Application.CommandBars("Control Toolbox").Controls("Design Mode").Execute

To exit, just click the Design Mode button that comes up.

Jim
Random Solutions  
 
programming4us programming4us