excel - How to change column names from VBA -
I am making excel spreadsheets in the access VBA code. I have to change the column names in a meaningful name from A, B, C, etc. I have seen high and low, but can not find any way.
The column name can not be changed in Excel. They are a basic part of how Excel operates.
When you create a spreadsheet based on a database table (looks like what you are doing), the first row of the Excel spreadsheet will include the fields (columns) of your data in this way, when You will have to read the data back in Access, or import the spreadsheet as a table; Access by default wants to see the first row of the spreadsheet for column names.
Comments
Post a Comment