Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Converting to Date Upon Upload from Third Party Software

Posted on 2014-01-30
3
Medium Priority
?
135 Views
Last Modified: 2014-01-30
Hi,

This is no doubt a familiar problem.
I have found some solutions on the web but none quite works for me.

I have an Add-in in Excel which facilitates the loading of data into Excel from a financial package.

Column "A" contains data which is sometimes interpreted as a DATE by Excel.
How do I stop this?
0
Comment
Question by:Patrick O'Dea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:Patrick O'Dea
ID: 39820682
... As the OP I have a solution.
Before I import the data into Excel ... I have set column a to be a "text" field and when imported it does NOT convert to a date.

However, I would appreciate any other suggestions???

THanks,
0
 
LVL 13

Accepted Solution

by:
Ryan earned 2000 total points
ID: 39820793
Its hard to tell what an add-on might do. It could be the add-on tries to figure out the datatype and theres little you can do, or it can be that once the data is on the sheet excel does the datatyping.

Typically setting the format of the column which will have Data look a likes to be text, before  importing.  

If you'd like to cleanup your solution, then I might suggest creating a macro that redefines the datatype as you're doing, then calls the add-on.
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39822838
Thx,

Amazing how this problem has been around from years!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question