Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Copy pasting and reformat Date

Good morning, i am currently repeating an operation in several cells as
follows: Copy 19SEP07, Paste Values, F2, Return.

This is achive a date format 19-SEP-07

The reason was i had an original date 19SEP07*, this was brought in from a
lookup formula soit came in with the asteric at the end,( * just mean the
date is constrained) so when it comes in i need to get it in proper date to
show 19-Sep-07.

So initially i used the MID function to loose the * at the end.

Is there a Macro i can write to do all this for me? So step one is to loose
the * then paste back into the cell as 19-SEP-07?

Thanks All...



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Copy pasting and reformat Date

I could select the range to fix
Then
Edit|Replace
what: ~*
with: (leave blank)
replace all

And all those cells got converted to dates.

If you really need a macro, you could record one when you do it manually.

========
The asterisk is a wildcard character. Excel uses the tilde to indicate that the
next character is really an asterisk--not the wildcard.

Same thing with:
~* for *
~? for ?
~~ for ~



whatzzup wrote:

Good morning, i am currently repeating an operation in several cells as
follows: Copy 19SEP07, Paste Values, F2, Return.

This is achive a date format 19-SEP-07

The reason was i had an original date 19SEP07*, this was brought in from a
lookup formula soit came in with the asteric at the end,( * just mean the
date is constrained) so when it comes in i need to get it in proper date to
show 19-Sep-07.

So initially i used the MID function to loose the * at the end.

Is there a Macro i can write to do all this for me? So step one is to loose
the * then paste back into the cell as 19-SEP-07?

Thanks All...


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Copy pasting and reformat Date

DataText to ColumnsFixed Width.

Drop a line to left of asterisk and Next.

Select the asterisk column and "Do not Import" and Finish.


Gord Dibben MS Excel MVP

On Mon, 28 Apr 2008 05:41:00 -0700, whatzzup
wrote:

Good morning, i am currently repeating an operation in several cells as
follows: Copy 19SEP07, Paste Values, F2, Return.

This is achive a date format 19-SEP-07

The reason was i had an original date 19SEP07*, this was brought in from a
lookup formula soit came in with the asteric at the end,( * just mean the
date is constrained) so when it comes in i need to get it in proper date to
show 19-Sep-07.

So initially i used the MID function to loose the * at the end.

Is there a Macro i can write to do all this for me? So step one is to loose
the * then paste back into the cell as 19-SEP-07?

Thanks All...



Reply
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
reformat cells for date Wackyracer Excel Discussion (Misc queries) 12 April 3rd 08 12:42 AM
Prevent text converting to date in copy&pasting tables patrickj Excel Discussion (Misc queries) 0 January 23rd 08 01:38 AM
Copy / pasting columns Manoj Excel Discussion (Misc queries) 0 October 12th 06 03:00 PM
Copy and Pasting JZ Excel Discussion (Misc queries) 1 July 25th 06 04:31 AM
Copy and Pasting Every Third Row teo2099 Excel Worksheet Functions 0 August 25th 05 07:02 PM


All times are GMT +1. The time now is 06:02 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"