Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked excel spreadsheet - Data Type Problem

Status
Not open for further replies.

aarondewberry

IS-IT--Management
Jul 20, 2005
148
GB
I have a linked excel sheet 'xlAgentsStats' in my database. I regularly append data from my database into this sheet.
However the sheet is part of a workbook template. So each time an append takes place the workbook will be saved as another name and the data will be deleted from the template, to keep it clear.
Heres the problem.....
One of the fields shows the NumberOfDays. This field defaults to text, leaving the user not being able to sum the column in excel. When I linked the sheet originally, I had data in the field. So it defaulted to Number. But when the data is deleted and the template saved, the data type changes to Text.
Is there a way of locking the data type to what it was when it was linked?
Or do it have to go down the non linked route of OutputTo??

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top