Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel replace text.
Thanks all. I'm quite new to Excel, but I'm pretty familiar with Access and vba fo Access In Excel where can I add the code for function. Thank -- xca ----------------------------------------------------------------------- xcao's Profile: http://www.excelforum.com/member.php...fo&userid=1453 View this thread: http://www.excelforum.com/showthread.php?threadid=26322 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel replace text.
Menu -- Tools - Macro - VB Editor
I hope that helps! Good luck, I have been working on the same transition for the last few weeks. It's not to bad, but there are a number of differences. Kevin -----Original Message----- Thanks all. I'm quite new to Excel, but I'm pretty familiar with Access and vba for Access In Excel where can I add the code for function. Thanks -- xcao ---------------------------------------------------------- -------------- xcao's Profile: http://www.excelforum.com/member.php? action=getinfo&userid=14538 View this thread: http://www.excelforum.com/showthread...hreadid=263222 . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel replace text.
xcao wrote ...
Thanks all. I'm quite new to Excel, but I'm pretty familiar with Access and vba for Access In which case, you can do the CASE statement in the sql e.g. SELECT MyIntCol, IIF(MyIntCol=4,'daily','') & IIF(MyIntCol=8,'weekly','') & IIF(MyIntCol=16,'monthly','') AS frequency_text FROM MyTable ; Alternatively, SELECT MyIntCol, CHOOSE(yIntCol, '','','','daily', '','','','weekly', '','','','', '','','','monthly') AS frequency_text FROM MyTable ; Jamie. -- |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel replace text.
.... or even:
SELECT MyIntCol, SWITCH( MyIntCol=4,'daily', MyIntCol=8,'weekly', MyIntCol=16,'monthly') AS frequency_test FROM MyTable ; Jamie. -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Text Replace | Excel Discussion (Misc queries) | |||
Can I replace a ' at the beginning of a text cell using Replace | Excel Discussion (Misc queries) | |||
How do I search and replace text in a textbox in Excel? | Excel Discussion (Misc queries) | |||
Excel replace text. | Excel Programming | |||
Limitation of Find and Replace Text in Excel | Excel Programming |