I am automating Excel (2000) from within a VB app and I am trying to set the width of the first column like this:
VB Code:
newsheet.Columns(1).width = 60
Unfortunately, I just get the following error:
Anybody know how to do this?Unable to set the Width property of the Range class





Reply With Quote