newton1234
Registered User.
- Local time
- Today, 17:43
- Joined
- Apr 16, 2008
- Messages
- 12
Hi,
I am trying to Link a table from Excel to Access which the rows contain both Numeric and Text values.
However when I link it the fields come through as #NUM.
I have tried formatting the cells in Excel to Text then running the below Macro Code, however some of the cells are formulas which the Macro knocks out.
This is the Macro I am using :
Does anyone know a way of linking the table and bringing through the values ?
Thanks
I am trying to Link a table from Excel to Access which the rows contain both Numeric and Text values.
However when I link it the fields come through as #NUM.
I have tried formatting the cells in Excel to Text then running the below Macro Code, however some of the cells are formulas which the Macro knocks out.
This is the Macro I am using :
Code:
Sub Addspace()
Dim cell As Object
For Each cell In Selection
cell.Value = " " & cell.Value
cell.Value = Right(cell.Value, Len(cell.Value) - 1)
Next
End Sub
Does anyone know a way of linking the table and bringing through the values ?
Thanks