+ Reply to Thread
Results 1 to 4 of 4

Redacting data

  1. #1
    Forum Contributor
    Join Date
    03-04-2014
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2019
    Posts
    756

    Redacting data

    Hello everyone,

    I have a spreadsheet with data in it from Column A to AD. In columns E and G are thousands of phones numbers.

    Often I am required to redact these numbers for a number of reasons. I've tried via formula, but pasting special does not work on multiple selections so it makes the task very long winded.

    I was wondering if anyone knew if this could be done via VBA? For example, replace all cells which contacts numbers of 9 or 11 numbers (numbers only as some will be numbers and digits) only if the cell isnt coloured - i.e. white background and black text.

    Anyone have any ideas?

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,234

    Re: Redacting data

    You have so many threads...marked as unsolved, no responses, no sample files...?
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Redacting data

    Edited: Wrong post

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Redacting data

    Looks like a duplicate thread, or very similar topic: https://www.excelforum.com/excel-pro...ml#post5495232
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Replies: 5
    Last Post: 10-03-2019, 07:23 PM
  2. [SOLVED] Read ( FRONT ) page data then transfer that data to the main data Sheet (OPEN)
    By Potholes in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 08-22-2019, 01:35 AM
  3. Replies: 2
    Last Post: 04-30-2017, 08:28 PM
  4. Replies: 11
    Last Post: 12-23-2014, 01:01 PM
  5. Replies: 34
    Last Post: 01-21-2014, 03:07 PM
  6. [SOLVED] Copy Data from one sheet and paste the consolidated data into another (Data Range Varies)
    By kittu55 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2013, 10:02 PM
  7. Replies: 2
    Last Post: 07-18-2012, 09:11 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