+ Reply to Thread
Results 1 to 3 of 3

Search worksheet for certain text + number combo and then increment the number

  1. #1
    Registered User
    Join Date
    09-05-2007
    Posts
    6

    Search worksheet for certain text + number combo and then increment the number

    In various cells on a worksheet there is an entry "Ethernet0/1". Is there a macro that I could use that would search and find all entires and then increment them by 1 until all entires had been incremented? These entires would then look like:

    Ethernet0/1
    Ethernet0/2
    Ethernet0/3
    etc

    It appears that each entry of Ethernet0/1 is on every 10th line.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Search worksheet for certain text + number combo and then increment the number

    Maybe this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-05-2007
    Posts
    6

    Re: Search worksheet for certain text + number combo and then increment the number

    It works in that it increments ever cell that contains Ethernet0/1 to Ethernet0/2. What I was hoping it would do woudl continue on down and keep incrementing so I would get Ethernet0/3, Ethernet0/4, etc.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Increment only number keeping the text
    By limalf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-18-2013, 08:59 AM
  2. Increment Date based on Worksheet number
    By IamDavidH in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-24-2011, 03:46 PM
  3. how to auto increment a number each time i open the worksheet
    By JE McGimpsey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 12:05 PM
  4. [SOLVED] how to auto increment a number each time i open the worksheet
    By fred rondak in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-25-2005, 07:05 PM
  5. [SOLVED] How do I automatically increment worksheet number when pasting a .
    By Mr Keldor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-21-2005, 02:06 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