LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How can I stop date formatting?

I have a spreadsheet that collects data that I load directly into a database.
There is a column, "eff date" which I use to collect what look like dates,
but they are really strings (database requirement). I've set the number
format for the eff date column to "Text". This is working as far as typical
data entry goes. Example:

Eff Date
2007-03-01
9999-12-31
2001-10-10
....

But when users do a find/replace on this column, and for example, replace
all the 9999-12-31 values with 2010-12-31, it reformats the 2010-12-31 to
12/31/2010, changes the cell from "Text" to "Date". Then I can't import it
into the database without additional manipulation.

Is there any way I can programmatically through vba shut off this date
formatting off on find/replace? I'm working with Excel 2003.

--
Thanks,

Bruce Bolio
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I stop cells formatting? Interesting Ian Excel Discussion (Misc queries) 1 October 19th 09 09:20 AM
How stop auto formatting? tjsmags Excel Discussion (Misc queries) 2 October 2nd 09 10:11 PM
Stop automatic formatting of cells (number, text, date, etc) Marcela Excel Worksheet Functions 4 June 9th 08 08:09 PM
Is it possible to get Excel to stop formatting text as a date? PeteeWJ Excel Discussion (Misc queries) 2 May 12th 08 06:28 PM
how to stop excel formatting geoffwright Excel Discussion (Misc queries) 6 February 23rd 06 09:13 AM


All times are GMT +1. The time now is 01:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"