Hi, Sorry to bother you again. I'm not sure if you remember me or not but I was the one who asked you for help on a script to normalize an excel spreadsheet to an access database. I want to add another field to that table using that script you wrote for me called "Number". I tried to modify it but I don't understand the script.
I thought I could just add OutRS.Fields(3) = .Fields(FieldIX).Value
or change the FieldIX to equal 3 or both but that did not work.
Can you help me out once more?
Thank you for your help again!
For FieldIX = 2 To .Fields.Count - 1
If Len(.Fields(FieldIX) & "") > 0 Then
OutRS.AddNew
OutRS.Fields(1) = .Fields(1)
OutRS.Fields(2) = .Fields(FieldIX).Name
OutRS.Fields(3) = .Fields(FieldIX).Value
OutRS.Update