Excel.Application Menu Bar - TechRepublic
General discussion
April 19, 2006 at 01:50 PM
hophead3

Excel.Application Menu Bar

by hophead3 . Updated 20 years, 2 months ago

I’m creating an instance of an Excel application in VB.NET, and can’t get the Menu Bar(“File, Edit, View etc.) to appear.

Private mAppExcel As Excel.Application
mAppExcel = New Excel.Application
mWrkExcel = mAppExcel.Workbooks.Add
mWrkExcel.Application.WindowState = Excel.XlWindowState.xlNormal
mWrkExcel.Application.CommandBars(“Worksheet Menu Bar”).Enabled = True

This discussion is locked

All Comments