Results 1 to 3 of 3

VBA Searching Certain Number Formats, or String Function?

Threaded View

ChompGator VBA Searching Certain Number... 09-16-2008, 11:28 AM
royUK Why not use AutoFilter, then... 09-16-2008, 11:40 AM
ChompGator Re: 09-16-2008, 12:41 PM
  1. #1
    Registered User
    Join Date
    01-03-2008
    Posts
    3

    VBA Searching Certain Number Formats, or String Function?

    Hey,

    Im building an excel document that uses VBA. What Im trying to do currently, is build the sheet so it can look for a certain sequence of numbers.
    The numbers are either written like this
    1-2-056-12 W5 or like this
    01-02-056-12 W5 ....The problem is this:
    There are four columns in my spreadsheet Company | Primary | UWI | Date
    These numbers are in the sequence shown above, and the numbers area in the "Primary" column, they need to be taken out of the primary column and moved into the "UWI" column, but instead of going through thousands of lines is there a function or a VBA code that can search throw the primary column and pull the numbers out of the primary column and put them into the UWI column?

    The reason I cant just copy the primary column and paste it into the UWI column is because there isother data in the primary column .

    Any help would be appreciated, thanks!
    Last edited by ChompGator; 09-16-2008 at 11:38 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Searching for a string in a cell, and then creating a Sheet for that string
    By vmc62 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2008, 12:07 PM
  2. vba code terminates without error
    By aseem in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-17-2008, 10:45 PM
  3. Create Function To Change Date into Week Number
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2008, 10:10 AM
  4. Incrementing a number as string prefixed with zero's
    By bluepill in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2007, 06:58 AM
  5. VBA Syntax for PDF
    By cvo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2007, 06:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1