Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks everyone for the very quick responses!
Best Regards, CalumMurdo Kennedy www.taekwondo.freeserve.co.uk -----Original Message----- '------------------------------------------ Sub test() Dim MyRange As Range Dim Counter As Integer '-------------------- Set MyRange = ActiveSheet.Range("A1:A50") Counter = 1 For Each c In MyRange.Cells If c.Value 0 Then ActiveSheet.Names.Add _ Name:="Name" & Counter, _ RefersTo:="=" & c.Address Counter = Counter + 1 End If Next End Sub '------------------------------------------------- --- Message posted from http://www.ExcelForum.com/ . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If value matches criteria, return formula | Excel Worksheet Functions | |||
Get last 6 rows in list where 1 cell matches certain criteria | New Users to Excel | |||
i need to get all matches in one column for one criteria | Excel Worksheet Functions | |||
SumIf Criteria Matches | Excel Worksheet Functions | |||
Is it possible to do a vertical lookup that matches on 2 criteria | Excel Worksheet Functions |