ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Prevent excel changing numbers data to dates. (https://www.excelbanter.com/excel-discussion-misc-queries/74263-prevent-excel-changing-numbers-data-dates.html)

Cindax

Prevent excel changing numbers data to dates.
 
Help, im going crazy trying to paste data from a web page into excel and keep
the original format but every time I paset something that could be a date (eg
4/4) it changes the cell to a date (eg 4-April)

How do I stop it doing this?

I have tried changing the format of the cell to be text or numbers only but
that does not work, I have tried pasting the data into a notepad (converting
it into plain text) first, then into excel with limited success.

Gary''s Student

Prevent excel changing numbers data to dates.
 
Place a single quote (apostrophe) before the data you want to leave un-changed.
--
Gary's Student


"Cindax" wrote:

Help, im going crazy trying to paste data from a web page into excel and keep
the original format but every time I paset something that could be a date (eg
4/4) it changes the cell to a date (eg 4-April)

How do I stop it doing this?

I have tried changing the format of the cell to be text or numbers only but
that does not work, I have tried pasting the data into a notepad (converting
it into plain text) first, then into excel with limited success.


David Biddulph

Prevent excel changing numbers data to dates.
 
"Cindax" wrote in message
...
Help, im going crazy trying to paste data from a web page into excel and
keep
the original format but every time I paset something that could be a date
(eg
4/4) it changes the cell to a date (eg 4-April)

How do I stop it doing this?

I have tried changing the format of the cell to be text or numbers only
but
that does not work, I have tried pasting the data into a notepad
(converting
it into plain text) first, then into excel with limited success.


Having set the format to text or numbers, have you tried Paste Special,
rather than just Paste?
--
David Biddulph




All times are GMT +1. The time now is 05:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com