Excel VBA - UsingVBA to create a new, formatted workbook

后端 未结 4 1712
耶瑟儿~
耶瑟儿~ 2021-01-25 06:52

I\'m trying to write the last part of my program and I need to pull data from an Access document and print it into a new Workbook.

To start, I will be taking the names o

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-25 07:45

    You can define column/row widths to a static pixel amount or auto-fit, things like bold are a pre-defined

    Example

    Selection.Font.Bold = True

    You can also make a template spreadsheet, copy the contents into the template and save as. Your post does not indicate how much formatting actually needs to be done.

提交回复
热议问题