Hi, I'm new to this group and trying my hand at Excel VBA.
Do you really need a macro for the below, i.e., to depict CST & PST? According to me a simpler work around would be, say, Column A Column B Row 1 PST CST Row 2 2009/4/29 18:59:10 =A2+2/24 this should show as 2009/4/29 20:59:10 (i.e., adding 2 hrs) regards, Sastry <jamadagnira...@gmail.com> > > Hello Everyone, > > I have a problem while displaying Time in Pacific Standard Time and > Central Standard Time. I get the data in PST. Can anyone wirte a VBA > Code, so that in the same box, i should get the Time for both PST and > CST? Please help. > > For reference, CST = PST + 2 hrs. Below is the Example - in 1st > Column and 2nd Column of Excel book i get the Raw data as below - > > Reuquested Start Time Requested End Time > > 4/16/2009 7:00:00 AM 5/9/2009 10:00:00 PM > > > Now i want something like below - > > Reuquested Start Time Requested End Time > > 4/16/2009 7:00:00 AM PDT 5/9/2009 09:00:00 PM PDT > 4/16/2009 9:00:00 AM CDT 5/9/2009 11:00:00 PM CDT > > > > Regards, > Raghu J. > > > > --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---