Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Excel 97 Left(.....

I had previously asked a question regarding Trim(.... not working correctly
in Excel 97. While the Trim statement works without any problems in Office
2003 it does not work in Excel 97. The solution at that time was:

WorksheetFunction.Trim(...)

That worked for Trim(...)
but does not work for Left(...)

I get an invalid method error.

Is there another solution for Left(...)
and for Mid(...)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Excel 97 Left(.....

Hi
AFAIK left, mid, riht don't have probelms in VBA. So why do you want to
replace them?

--
Regards
Frank Kabel
Frankfurt, Germany

"
schrieb im Newsbeitrag
...
I had previously asked a question regarding Trim(.... not working

correctly
in Excel 97. While the Trim statement works without any problems in

Office
2003 it does not work in Excel 97. The solution at that time was:

WorksheetFunction.Trim(...)

That worked for Trim(...)
but does not work for Left(...)

I get an invalid method error.

Is there another solution for Left(...)
and for Mid(...)


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Excel 97 Left(.....

Take a look at the descriptions at
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
there may be an aspect you are missing such as copying
non breaking space characters from web pages.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

" wrote in message
...
I had previously asked a question regarding Trim(.... not working correctly
in Excel 97. While the Trim statement works without any problems in Office
2003 it does not work in Excel 97. The solution at that time was:

WorksheetFunction.Trim(...)

That worked for Trim(...)
but does not work for Left(...)

I get an invalid method error.

Is there another solution for Left(...)
and for Mid(...)



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel 97 Left(.....

Apparently you ignored the suggestions that might have actually solved the
problem.

Maybe you need to go back and take a look.

Using Worksheetfunction.Trim and prefacing the commands with VBA are
bandaids.

--
Regards,
Tom Ogilvy

" wrote in
message ...
I had previously asked a question regarding Trim(.... not working

correctly
in Excel 97. While the Trim statement works without any problems in Office
2003 it does not work in Excel 97. The solution at that time was:

WorksheetFunction.Trim(...)

That worked for Trim(...)
but does not work for Left(...)

I get an invalid method error.

Is there another solution for Left(...)
and for Mid(...)



Reply
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
when inserting new worksheets they read right to left not left to. Andy Setting up and Configuration of Excel 2 December 3rd 08 09:51 PM
Excel set up is right to left rather than left to right KSUCATS Excel Discussion (Misc queries) 1 May 8th 08 10:40 PM
My Excel view is Right to Left instead of Left to Right !!! Akash Puri Excel Discussion (Misc queries) 2 May 5th 08 07:15 PM
Column labels run right to left, not left to right tmassey Excel Discussion (Misc queries) 1 November 10th 06 11:03 AM
How to change the right-to-left worksheet to left-to-right workshe RAMA Excel Discussion (Misc queries) 1 July 4th 05 01:57 PM


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