Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Marco code needed to find contents of cell a1 in entire workbook
Marco code needed to find contents of cell a1 in entire workbook and then go
to that cell. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Marco code needed to find contents of cell a1 in entire workbook
Sub findit()
Dim s1 As Worksheet, s As Worksheet Dim r As Range, v As Variant Set s1 = ActiveSheet n = s1.Name v = Range("A1").Value For Each s In Worksheets s.Activate nn = s.Name For Each r In ActiveSheet.UsedRange If nn = n And r.Address = "$A$1" Then Else If r.Value = v Then r.Select Exit Sub End If End If Next Next s1.Activate End Sub -- Gary''s Student - gsnu200843 "gmc" wrote: Marco code needed to find contents of cell a1 in entire workbook and then go to that cell. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy entire contents worksheet into new workbook, link but editabl | Excel Discussion (Misc queries) | |||
Need a Marco to find and delete an entire column based on text sea | Excel Programming | |||
Issue with marco for entire workbook | Excel Programming | |||
Find Cell Contents on Another Sheet in Workbook | Excel Programming | |||
Clear contents of unprotected cells in entire workbook with a macr | Excel Programming |