Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strip left 4 characters in a variable? 1

Status
Not open for further replies.

Palmyra

Programmer
Jan 5, 2007
150
US
Can I strip the left four characters from a variable that I'm setting from a combo box?

For example:

Dim Resolution as String
Resolution = Me.cboResolution

However, I always want to strip the first four characters from Me.cboResolution

Thanks.
 
Resolution=Mid(Me.cboResolution, 5)

?

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top