LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Extracting Text to Separate Textboxes

Thank you. That worked perfectly.

"Ardus Petus" wrote:

Dim res as Variant
res=Split(Range("A1"),chr(10))

tbName.value=res(0)
tbDept.Value=res(1)
....


HTH
--
AP

"Nausett" a écrit dans le message de
news: ...
I have a userform where users input their name, department, phone#, fax#
and
email. This information is input into one cell on a worksheet. The cell
is
formatted using chr(10) between each. I want to be able to edit the user
information by breaking it back out of the cell an into a userform with 5
textboxes. The text length varies by user. Is there a way to accomplish
this in VBA?




 
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
Extracting numbers and letters in a single cell to separate cells lawandgrace Excel Discussion (Misc queries) 1 August 14th 09 04:45 PM
separate two dates from a text string into two separate cells Tacrier Excel Discussion (Misc queries) 3 October 13th 08 08:53 PM
Extracting excel worksheet data to separate files [email protected] Excel Discussion (Misc queries) 4 July 23rd 07 08:43 PM
Clearing text in TextBoxes CG Rosén Excel Programming 3 August 18th 05 10:01 PM
Text length and TextBoxes Ron_D[_2_] Excel Programming 4 December 28th 04 09:47 AM


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