Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to use RTrim
to remove spaces from a list of single words. Every example of RTrim I can find on the web seems to be for a paticular fixed string like "Hello World ". If I want to use: RTrim( text ) with 'text' as a variable to loop down a list, if possible and remove the trailing spaces can I substitute something for 'text' to identify the cell contents ? That is, how would the following look? Sub Macro1() Do Until ActiveCell.Formula = "" ActiveCell.Offset(1, 0).Select RTrim( text ) Loop Thank you, Emory |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
variable height variable width stacked bar charts | Charts and Charting in Excel | |||
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? | Excel Worksheet Functions | |||
Run-time error '91': "Object variable or With block variable not set | Excel Programming | |||
I can't seem to use RTRIM or LTRIM in Excel 2002. I want to trim. | New Users to Excel | |||
Cells.Find error Object variable or With block variable not set | Excel Programming |