I cant seem to save the changes I made to a worksheet in vb6 .
I have an existing excel file wich I have generated. I then need to change the
column width , then I save the work book. Yet when I re-open that file it allways reverts back to the old column width. heres the code
Dim Workbook As Excel.Workbook
Set Excel = New Excel.Application
Set Workbook = Excel.Workbooks.Open(App.Path & "\Report_W8.xls")
Dim Worksheet As Worksheet
Set Worksheet = Workbook.ActiveSheet
Worksheet.Rows.ColumnWidth = 15
Workbook.Activate
Workbook.Save
Workbook.Close
Excel.Quit
Set Excel = Nothing
![]()
Bookmarks