LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Loop thru cells & isolate numeric string

Hi!

I tried to search previous posts for this, but honestly couldn't figure what search terms to use ...

My payroll system spits out a file each day that has a horrendous format .... lots of merged cells and such. I'm trying to build code that prepares this data file for use in a tracking template, the first step of which is to parse the co-worker key (name & employee #). And, it's this first step that has me stuck.

The data (co-worker name & #) starts in J19, with 53 rows btw each subsequent entry. The format for this entry is John Doe (12345678). The number should be 8 digits but isn't always; it *is* always between the ( ).

Can you help me with coding to isolate just the employee # and put in the cell next to the original ... and do this until the next cell (53 rows below) is blank?

Thanks in advance!

Ray
 
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
Loop through cells to find a string and copy/paste the matching column to a new wkbk KeriM Excel Programming 3 September 21st 12 10:40 PM
How can I isolate the last two words in a text string? Steve Gibbs Excel Discussion (Misc queries) 7 November 28th 08 11:23 PM
isolate date from a text string into another cell Tacrier Excel Discussion (Misc queries) 5 October 11th 08 12:00 AM
Loop through range of cells, string search, take action [email protected] Excel Programming 1 November 3rd 06 12:56 PM
How do I loop a range of cells until I get a numeric value? ManKind New Users to Excel 1 June 4th 06 06:48 AM


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