Data Import

  • Thread starter Thread starter Shaun
  • Start date Start date
S

Shaun

Is it possible to remove or disable the data tab. The reason for this is it
can be used to pull data from a sql server on the domain if it's connection
is set up for mixed mode.
 
Hi,

Do you mean the 'Data' menu? If so

Application.CommandBars("Worksheet Menu Bar").Controls("&Data").Enabled =
False

remembering of course to re-enable it at some point.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top