Skip to content

Instantly share code, notes, and snippets.

@jnericks
Created July 13, 2011 17:00
Show Gist options
  • Save jnericks/1080746 to your computer and use it in GitHub Desktop.
Save jnericks/1080746 to your computer and use it in GitHub Desktop.
_excelWB = CType(GetObject(_fileNameAndPath), Excel.Workbook)
_excelApp = CType(_excelWB.Parent, Excel.Application)
_excelApp.Visible = True
_excelWS = CType(_excelWB.Worksheets(1), Excel.Worksheet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment