Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Vbscript command's

Hello all,

I need to withdraw from the excel gridlines, formula bar and headings vbscript on command, can anyone help?

1 Reply
m_woolf
Master II
Master II

    Set XLApp = CreateObject("Excel.Application")

    Set XLWB = XLApp.Workbooks.Add

    XLApp.DisplayFormulaBar = False

    XLApp.ActiveWindow.DisplayGridlines = False

    XLApp.ActiveWindow.DisplayHeadings = False