Hi there!
I'm using Visual Basic. I can get my Excel workbook to appear. I just can't make it read-only when it appears. Do you know the line of code that would do this?
Here is my code so far...
Set xlBook = GetObject(EXCEL_PATH_LASTTRADEDATE)
xlBook.Application.Visible = True
xlBook.Windows(1).Visible = True
xlBook.Activate
Set xlBook = Nothing
Thank you for your help!!
Andrea
I'm using Visual Basic. I can get my Excel workbook to appear. I just can't make it read-only when it appears. Do you know the line of code that would do this?
Here is my code so far...
Set xlBook = GetObject(EXCEL_PATH_LASTTRADEDATE)
xlBook.Application.Visible = True
xlBook.Windows(1).Visible = True
xlBook.Activate
Set xlBook = Nothing
Thank you for your help!!
Andrea