Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'd like to tidy up an excel worksheet using the API.
So far I've only used AutoFit on the column widths, but I'd like to center align certain columns, apply a border around the full range of used cells, bold the headings and apply a filter to the first row.
Can someone point me to where I can find the API for these things? Or a similar example
This is what I've got so far:
excelApp = CreateObject("Excel.Application") excelApp.Visible = True excelApp.DisplayAlerts = False wb = excelApp.Workbooks.Open(oPATH + "BOM-PartsOnly.xlsx") xlws = wb.Worksheets(1) excelApp.Columns.AutoFit excelApp = Nothing
Solved! Go to Solution.

