I want to define the columnwidth of any column in EXCEL sheet with ACCESS2K VBA.
Before do that, i had got the width value with codes:
ColumnWidth = xlBook.Sheets(1).Columns(1).Width
but the following codes can't work when redefine the newone.
xlBook.Sheets(1).Columns(2).Width = ColumnWidth
Before do that, i had got the width value with codes:
ColumnWidth = xlBook.Sheets(1).Columns(1).Width
but the following codes can't work when redefine the newone.
xlBook.Sheets(1).Columns(2).Width = ColumnWidth