How do I make a # be a text field importing from Access into Xcel

P

Patti_T

I am using a Macro in Access to "Output to" Excel using an Object type of
"Report". there is a numeric field that needs to be a Text field in Excel
but Excel is automatically making it a numeric field. It is a Text field in
Access. Is there a way to ensure it stays a Text field in Excel?
 
S

Steve Schapel

Patti,

In the query that the report is based on, you could try forcing the data
to be a string via the Format function. For example...
FieldToUseInReport: Format([YourExistingField])

Don't know if it will help, but worth a try...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top