I have an application that sends information to Excel. It works fine if I have Option Strict Off. However, I am required to turn Option Strict On. When I do, I get "late binding" errors. How can I clear up statements such as these? (All give the late-binding error.)
oSheet.Rows("2:2").Select(
)
oSheet.Rows("1").EntireRow
.Font.Unde
rline = True
oSheet.Columns(1).EntireCo
lumn.Style
= "Comma"
oSheet.Columns(1).EntireCo
lumn.Numbe
rFormat = "mm/dd/yyyy"
oSheet.Columns(1).EntireCo
lumn.Horiz
ontalAlign
ment = Excel.Constants.xlLeft
Thanks,
Chris
Start Free Trial