+ Reply to Thread
Results 1 to 2 of 2

Macro to deleting SSN from each Sheet

  1. #1
    dziw
    Guest

    Macro to deleting SSN from each Sheet

    I have a large server full of excel files that include SSN numbers and I have to delete them from every file. Each Excel file has multiple Sheets named differently. The problem is that this macro isn't running on every sheet. What am I doing wrong???

    Please Login or Register  to view this content.

    The difference in replacements is because some SSNs are stored as "xxx-xx-xxxx" and others as "xxxxxxxxx" in a 000-00-0000 number format.


    Thanks so much!

  2. #2
    dziw
    Guest
    Oops figured out my problem!

    I needed to select each sheet in turn

    For Each mysht In ActiveWorkbook.Worksheets
    mysht.Select

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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