I'm trying to open an Excel spread sheet from VB. The spread sheet
contains macro's.
I'm using code like
Dim ex As Excel.Application
Set ex = New Excel.Application
Dim wb As Excel.Workbook
Set wb = ex.Workbooks.Open(FilePath, 1)
The sheet opens OK but it doesn't ask if macro's should be allowed or
not. Without macro's the rest of my solution doesn't work.
Does anyway know how I can ensure this screen appears?
Bookmarks