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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel formatting question

Status
Not open for further replies.

dmaier

MIS
Apr 13, 2002
38
US
I often paste stuff into Excel from other sources that have the following format 6-6 and Excel changes to June 6. Is there anyway to change excel so that it doesn't try to reformat the 6-6 to June 6?
 
you can goto past special and check values and that should work or make the cell a general or a custom format of 0-0
 
Doesn't really work for me

I tried reformatting the cells to text and then pasted and it still comes up wrong.

I tried paste special and using text and it puts everything in one column instead of multiple columns.
 
Problem is - if you paste then you overwrite formats. If you pastespecial, excelo doesn't recognise that there is delimited data

I would go for pasting special and then using Text To Columns - you should be abloe to RECORd the text to columns procedure using Tools>Macro>Record New Macro so that you can automate it...

Rgds, Geoff

Never test the depth of water with both feet

Help us to help you by reading FAQ222-2244 before you ask a question
 
format the cell as custom:

m-d



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Excel is a right royal pita when it comes to 'helping' you like this. One option you may have is to paste it into Notepad, create a text file and then use the Text import wizard with whatever delimiters you have, specifying that column as text. Roundabout, but if it helps....

Regards
Ken..................

----------------------------------------------------------------------------
[peace]It's easier to beg forgiveness than ask permission[2thumbsup]

----------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top