I am writing to a table within VBA code. The fields I need to write to are labeled 1 through 24 (for the hours of the day). I have a loop that returns a value per hour and I want to write the value for that hour to the proper hour column. Any suggestions?