Jeff Farr

Jeff Farr

  • NA
  • 3
  • 0

How do you open Excel 2007 and get the Menu items to show up

Dec 8 2009 5:21 PM

 Hi All,
 
I can open a work book, but it is just the workbook, what is the secret to show the menu items?
 
Here is what I have currently
<code>
private
void Form1_Load(object sender, EventArgs e)
{

filePath =
@"FileName.xlsx";
App =
new Excel.ApplicationClass(); // Creates a new Excel Application

App.WindowState = Excel.
XlWindowState.xlMinimized;
App.ShowStartupDialog =
true;
App.ShowSelectionFloaties =
true;

App.ShowWindowsInTaskbar =
true;

workbook = (Excel.
Workbook)(App.Workbooks.Open(filePath, 0, false, 5, "", "", true,
Excel.
XlPlatform.xlWindows, "\t", false, false, 0, true, false, false));
}
</code>
 
 
 

Answers (1)