Help!
Thanks in advance.
Mark
Ole is the TOleContainer...
var
ExcelApp : Variant;
intCount : integer;
begin
Ole.DoVerb (Ole.ObjectVerbs.IndexOf ('Edit'));
ExcelApp := Ole.OleObject.Application;
for intCount := 1 to ExcelApp.CommandBars.Count do
if (ExcelApp.CommandBars.Item [intCount].Visible) and
(ExcelApp.CommandBars.Item [intCount].Name <> 'Worksheet Menu Bar')
then
begin
ExcelApp.CommandBars.Item [intCount].Visible := False;
end;
end;
"Mark Button" <mbu...@atimwp.com> wrote in message
news:3a9ea571$1_1@dnews...