Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Misc
Numbers from first column
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Don Guillett, post: 7400331"] oops. Need to search by COLUMNS Option Explicit Sub camefromcolSAS() Dim i As Long With ActiveSheet.UsedRange 5 On Error Resume Next For i = 1 To Application.Max(.Value) Cells(i, "e") = i & " found in col " & .Find(What:=i, _ LookIn:=xlFormulas, LookAt:=xlWhole, SearchOrder:=xlByColumns, _ SearchDirection:=xlNext).Column Next i End With Columns("e").AutoFit End Sub [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Misc
Numbers from first column
Top