1
Answer

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

Ask a question
Jeff Farr

Jeff Farr

14y
2.4k
1

 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)