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: 11
Default Trim Function... does not work?

I am using trim and can not figure out why it does not work!! I have some
text in a cell and use mid fuction to get a piece out, I want to trim the
spaces to use as worksheet name but can not figure why it won't trim spaces.
The data is a html I open in Excel, no problem, I save it as Excel and it
still does not work.

Dim strMarket As String
strMarket = Trim(Mid(ActiveCell.FormulaR1C1, 9))
ActiveSheet.Name = strMarket




 
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
TRIM function JockW Excel Worksheet Functions 6 October 15th 08 10:41 PM
TRIM function fitou_learn[_2_] New Users to Excel 2 June 12th 07 11:06 AM
using trim cmd. When I type this command it does not work. When I. Rafiq Excel Worksheet Functions 1 January 5th 05 01:37 PM
Trim function won't work in VBA Dave Peterson[_3_] Excel Programming 0 April 1st 04 03:54 AM
Trim function in Excel Doesn't work for certain cells Neeraja Excel Programming 1 October 14th 03 09:12 AM


All times are GMT +1. The time now is 04:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"