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: 1
Default Problem with removing qoutes from string

Hi, Can anyone help me with this problem?

I have 6 textboxes that I want to make visible on the excel page by
using a For loop. However I am having a problem with the quotes

Code:

For ModuleNo = 1 To 6
StrTxtCalcElevHeightorDepth = ("Txt_Calc_Elev_HeightorDepth_" &
ModuleNo & "")
StrTxtCalcElevHeightorDepth.Visible = True
Next ModuleNo

Txt_Calc_Elev_HeightorDepth_1 is a textbox

The code above means that StrTxtCalcElevHeightorDepth =
"Txt_Calc_Elev_HeightorDepth_1". The quotes are causing a problem -
anyone know how to remove them?


thank you


---
Message posted from http://www.ExcelForum.com/

 
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
Removing character in a string MikeL Excel Discussion (Misc queries) 2 December 3rd 09 08:11 PM
removing value within a string Jane Excel Worksheet Functions 13 February 23rd 07 03:57 AM
Please help with removing text string excelator Excel Discussion (Misc queries) 3 August 15th 06 12:08 AM
Removing Spaces from string katmando Excel Worksheet Functions 4 May 16th 06 02:16 PM
Where can I get UNLIMITED Excel stock qoutes? ZouBCivil Excel Discussion (Misc queries) 2 March 7th 05 04:42 AM


All times are GMT +1. The time now is 11:37 PM.

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"