C
Chlaris
Dear all,
I want to create border and merge cell in Excel file, how to write the code
in Access ?
Please complete my below code. Thanks.
Dim objXL As Object
Dim objActiveWkb As Object
Set objXL = GetObject(, "Excel.Application")
Set objActiveWkb = objXL.Application.activeworkbook
With objActiveWkb
.Worksheets(1).cells(1, 1) = "Hello World"
'want to make border in cell (1,1)
'want to merge cell from A1:F1
End With
Set objActiveWkb = Nothing: Set objXL = Nothing
I want to create border and merge cell in Excel file, how to write the code
in Access ?
Please complete my below code. Thanks.
Dim objXL As Object
Dim objActiveWkb As Object
Set objXL = GetObject(, "Excel.Application")
Set objActiveWkb = objXL.Application.activeworkbook
With objActiveWkb
.Worksheets(1).cells(1, 1) = "Hello World"
'want to make border in cell (1,1)
'want to merge cell from A1:F1
End With
Set objActiveWkb = Nothing: Set objXL = Nothing