LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Macro to delete space in front of date

I have a macro that pulls a date into a column. This column is updated
everyday as the days of the month pass. So, the column for today would have
all the dates of March up to 03-23-05. Tomorrow the column will have all the
dates of March up to 03-24-05.

The problem with this current macro is that it is pulling the dates from
another spreadsheet. This other spreadsheet has 1 space in front of the
date. Because of this, I am unable to change the format of the way I want
the date to look. Right now it looks like this " 03/23/2005". Notice the
space in front of the date. I want it to format like this "23-Mar-05".

Can someone help me create a macro or VB code that I can install in my
current macro to eliminate that space in front of the date? Remember the
column today would have 23 rows, but tomorrow it will have 24 rows because of
the update. I'm sure some sort of relative referencing would be needed?

Please help!!! Thanks!!!

Ryan
 
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
Remove blank space in front of text in multiple cells at once SMS Excel Discussion (Misc queries) 3 April 4th 23 02:32 PM
How to delete a ' from front of data myasmana Excel Discussion (Misc queries) 5 May 18th 10 05:23 PM
Remove space in front of number in a cell? Barcelona Excel Worksheet Functions 5 September 18th 08 02:43 PM
Macro to remove space at front and end of a cell yhoy Excel Discussion (Misc queries) 2 February 22nd 08 09:53 PM
Macro want delete the date row? Shetty Excel Programming 5 March 3rd 04 02:08 PM


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