slowly, very slowly
Yes that's not the way I'd go but to each his own.
--
Jim
|I used this ove and it work fine, slowly, very slowly, but fine!
|
|
| Dim ws As Worksheet
| Dim cl As Range
|
| For Each ws In ActiveWorkbook.Sheets
| For Each cl In Sheets(ws.Name).UsedRange.Cells
| If cl.Locked = False Then
| cl.ClearContents
| End If
| Next cl
| Next ws
|
|
| you find more at
http://www.mrexcel.com/forum/showthread.php?t=321440
|
| Google is a much, much better F1-option than the embedded one in Excel.
| When I press F1 and type in words, it never happens that what I am looking
| for is popping up on the first page.
| MS has really messed this up!
|
| But problem solved....
|
| --
| ---
| rgs
| Zadig Galbaras
| (nick)
|
www.tresfjording.com
|
| "Jim Rech" <
[email protected]> skrev i nyhetsmeldingen:
|
[email protected] ...
| > It is possible to assign one range name to a multi-area range. Then you
| > could Goto (F5) that range and press Del.
| >
| > It is not always easy to apply one name are a large number of areas so,
as
| > an alternative, you could assign a sequence of names to each area like
| > ClearRg1, ClearRg2, etc., and then clear them with a macro:
| >
| > Sub ClearInputRange()
| > Dim Counter As Integer
| > For Counter = 1 To 10
| > Range("ClearRg" & Counter).ClearContents
| > Next
| > End Sub
| >
| >
| > --
| > Jim
| > | > | Hi....
| > |
| > | I have this large spreadsheet showing 52 weeks, and for each week 10
| > areas
| > | not adjacent to each other, all of wich I need to be cleared every
year.
| > In
| > | between areas needed to be cleared there are some hidden cells, rows
and
| > | columns.
| > |
| > | Is there a way to easily clear these areas, without clearing hidden
and
| > | locked areas?
| > |
| > |
| > |
| > | --
| > | ---
| > | rgs
| > | Zadig Galbaras
| > | (nick)
| > |
www.tresfjording.com
| > |
| >
| >