Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Replace
I have the following code:
CMonth = (Replace(Cells(13, 4).Value, "*", "???")) The only value that will be in Cells(13, 4) will be one of the 12 months. What I'm trying to do is truncate the month to just the 1st 3 chars. So if the month is January, CMonth = Jan. If it's October, CMonth = Oct. So on and so forth. The way I have it set up it's not working as intended though. What am I doing wrong? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
Error for a replace. It replace ALL instead of selected column | Excel Programming | |||
Replace text with variable using VBA replace code? | Excel Programming | |||
How to Replace multiple words to replace using excell | Excel Programming | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions |