bluenose76
Registered User.
- Local time
- Today, 19:23
- Joined
- Nov 28, 2004
- Messages
- 127
Hi,
I posted a message in the macros section requesting some help.
what I would like to do is change the column names of a table after importing data from an excel CSV file.
Rickster57 was kind enought o reply and gave me this bit of code
currentdb.TableDefs("table1").Fields("OldFieldName ").Name = "NewFieldName"
unfortunately my knowledge does not help me mucha dn i cant figure out how to get this to work in a new module?
my intention is that once the module works then i shal call it from my macro to change the names at the end of everything else.
can someone please give me an example of what i would need to do to get a working module that will change my column names in a table.
Thank you all in advance
Bev
I posted a message in the macros section requesting some help.
what I would like to do is change the column names of a table after importing data from an excel CSV file.
Rickster57 was kind enought o reply and gave me this bit of code
currentdb.TableDefs("table1").Fields("OldFieldName ").Name = "NewFieldName"
unfortunately my knowledge does not help me mucha dn i cant figure out how to get this to work in a new module?
my intention is that once the module works then i shal call it from my macro to change the names at the end of everything else.
can someone please give me an example of what i would need to do to get a working module that will change my column names in a table.
Thank you all in advance
Bev