+ Reply to Thread
Results 1 to 2 of 2

all user defined cell format del using macro

  1. #1
    x taol
    Guest

    all user defined cell format del using macro



    how do i do using macro for deleting all user defined cell format in a
    specific workbook?

    sub()
    ~~~~~~~
    end sub



    *** Sent via Developersdex http://www.developersdex.com ***

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello x toal,

    Here is the macro...

    Public Sub ClearAllFormats()
    Dim Wks
    For Each Wks In ActiveWorkbook.Worksheets
    Wks.UsedRange.ClearFormats
    Next Wks
    End Sub

    Sincerely,
    Leith Ross

+ 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