+ Reply to Thread
Results 1 to 3 of 3

vba code to clear specific text in specific columns

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,079

    vba code to clear specific text in specific columns

    I have a worksheet where I need to delete dynamic text on 3 columns .

    First columns A the word Page :, then Page :1 , Page: 2, Page : 3 and so on .

    But on column A there is Page Number : 1 , Page Number :2 and so on but these should not be deleted

    On column H and I the word Page Number on H and the numerical data 1 which is always next .

    The sequence is always the same but the row no differ a lot .

    Column A , H and I maximum rows are 5000

    looking a vba code to handle this
    Attached Files Attached Files

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: vba code to clear specific text in specific columns

    This should do what you want
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,079

    Re: vba code to clear specific text in specific columns

    thank you , works a charm .

+ 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. [SOLVED] assistance on vba code to clear specific text on a sheet not workingas it should be
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-21-2018, 04:56 AM
  2. VBA MAcro to clear contents of specific cells if a specific cell contains text
    By muzzareilly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2017, 12:47 PM
  3. [SOLVED] code to clear all contents in columns with specific text in row 2
    By xcelnovice101 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-30-2014, 08:58 AM
  4. Programming to automatically send text to specific sheets and specific columns.
    By GlobalExcelller in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2014, 10:07 PM
  5. [SOLVED] Macro code to Copy specific rows into specific columns
    By macrofan2012 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-11-2012, 11:24 AM
  6. VB Code to delete specific Columns of a specific worksheet
    By akh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-22-2010, 09:14 AM
  7. code to extract specific data into specific columns
    By lmohaxx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2008, 01:52 AM

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