Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Visual Basic Text Functions

I need to manipulate text variables using Visual Basic programming

what is thestatement for:

Len - length of variable
Mid

I tried:

variable = Application.WorksheetFunction.Len (Variable)
but it does not work.

Moiz


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Visual Basic Text Functions

Hi
variable=len(variable_2)
also use Mid without application.worksheetfunction

--
Regards
Frank Kabel
Frankfurt, Germany

"Moiz" schrieb im Newsbeitrag
...
I need to manipulate text variables using Visual Basic programming

what is thestatement for:

Len - length of variable
Mid

I tried:

variable = Application.WorksheetFunction.Len (Variable)
but it does not work.

Moiz



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 538
Default Visual Basic Text Functions

On Wed, 18 Aug 2004 12:09:00 +0100, Moiz wrote:

I need to manipulate text variables using Visual Basic programming

what is thestatement for:

Len - length of variable


x = Len(y$) 'x is a numeric variable

Mid


x$ = Mid(y$, start, length) 'start and length are both integers

I tried:

variable = Application.WorksheetFunction.Len (Variable)
but it does not work.


That's because they're not worksheet functions.
--
auric underscore underscore at hotmail dot com
*****
You can do it your own way, if it's done just how I say.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Visual Basic Text Functions

Thank you

it is working now.

Moiz


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
Visual basic functions Brett Excel Worksheet Functions 2 September 17th 09 12:21 PM
Currency format in visual basic text box James Millsted Excel Discussion (Misc queries) 2 June 15th 07 11:47 AM
Set cell text direction (degrees property?) via visual basic James[_24_] Excel Programming 2 June 23rd 04 01:03 PM
Converting text to pdf file using Visual Basic nitin khabia Excel Programming 1 September 12th 03 02:10 AM
Visual basic to step through range and store a value based on text attribute value. Bob Kilmer Excel Programming 0 August 7th 03 09:46 PM


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