Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Should I use a macro for this function?

The Time stamp data that comes to me is in this format hh:mm:ssAM, and to
use the data I need to put a space between the seconds and AM (or PM). Doing
this manually is grueling so I recorded a macro but the macro changes the
data to the data in the cell in which it was recorded. So I'm not sure what
the right solution is and appreciate any guidance. Thank you. Doug
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Should I use a macro for this function?

If you actually see:

11:22:33AM

in a cell, then in another cell:

=LEFT(A1,8) & " " & RIGHT(A1,2)

--
Gary''s Student - gsnu200774


"dwny" wrote:

The Time stamp data that comes to me is in this format hh:mm:ssAM, and to
use the data I need to put a space between the seconds and AM (or PM). Doing
this manually is grueling so I recorded a macro but the macro changes the
data to the data in the cell in which it was recorded. So I'm not sure what
the right solution is and appreciate any guidance. Thank you. Doug

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Should I use a macro for this function?

Consider me one of your students.....thank you so much....when time changes
to 1 pm there's only 7 characters so I changed the formula and will simply
use 2 for the worksheets.....once again, thank you, Regards, Doug

"Gary''s Student" wrote:

If you actually see:

11:22:33AM

in a cell, then in another cell:

=LEFT(A1,8) & " " & RIGHT(A1,2)

--
Gary''s Student - gsnu200774


"dwny" wrote:

The Time stamp data that comes to me is in this format hh:mm:ssAM, and to
use the data I need to put a space between the seconds and AM (or PM). Doing
this manually is grueling so I recorded a macro but the macro changes the
data to the data in the cell in which it was recorded. So I'm not sure what
the right solution is and appreciate any guidance. Thank you. Doug

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Should I use a macro for this function?

You are very welcome!
--
Gary''s Student - gsnu200774


"dwny" wrote:

Consider me one of your students.....thank you so much....when time changes
to 1 pm there's only 7 characters so I changed the formula and will simply
use 2 for the worksheets.....once again, thank you, Regards, Doug

"Gary''s Student" wrote:

If you actually see:

11:22:33AM

in a cell, then in another cell:

=LEFT(A1,8) & " " & RIGHT(A1,2)

--
Gary''s Student - gsnu200774


"dwny" wrote:

The Time stamp data that comes to me is in this format hh:mm:ssAM, and to
use the data I need to put a space between the seconds and AM (or PM). Doing
this manually is grueling so I recorded a macro but the macro changes the
data to the data in the cell in which it was recorded. So I'm not sure what
the right solution is and appreciate any guidance. Thank you. Doug

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
Using macro or other function orquidea Excel Discussion (Misc queries) 2 December 5th 07 05:37 PM
Sub Macro vrs Function Macro Auto Start Pat Excel Discussion (Misc queries) 7 June 6th 07 09:53 PM
Macro within a function? stevieboy1313 Excel Worksheet Functions 1 September 19th 06 07:57 PM
Macro With IF Function marello Excel Worksheet Functions 0 November 10th 05 03:55 PM
macro or function BAZZA Excel Worksheet Functions 2 September 18th 05 02:44 PM


All times are GMT +1. The time now is 02:47 AM.

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"