K
kayabob
When importing data from Excel to Access, I have a set of data that wont go
through as text, no matter what normal Excel formatting I try. The only
thing that works is to manually insert an apostrophe in Excel, then finally
it will go into Access as text. There are thousands of Excel rows, so I want
to make a repetitive macro to go into each cell, and add an apostrophe at
the beginning of each cell.
I want it to select a cell, edit, insert ' at the beginning of the cell,
enter, and move down 1 row. Then I can loop till null. But, what i am
getting is that the initial data from where i created the macro, keeps
entering in each cell as i move down. How can I edit the macro to make it
select the cell, and put the apostrophe without overwriting the text?
Thank you.
through as text, no matter what normal Excel formatting I try. The only
thing that works is to manually insert an apostrophe in Excel, then finally
it will go into Access as text. There are thousands of Excel rows, so I want
to make a repetitive macro to go into each cell, and add an apostrophe at
the beginning of each cell.
I want it to select a cell, edit, insert ' at the beginning of the cell,
enter, and move down 1 row. Then I can loop till null. But, what i am
getting is that the initial data from where i created the macro, keeps
entering in each cell as i move down. How can I edit the macro to make it
select the cell, and put the apostrophe without overwriting the text?
Thank you.