Thread: [Solved] AND/OR/NOT-search
View Single Post
 
Old 09-09-2011, 02:59 AM
joblo108 joblo108 is offline Windows XP Office 2003
Novice
 
Join Date: Sep 2011
Posts: 2
joblo108 is on a distinguished road
Default

Hi

I am trying to run the macro but I get a “runtime error no 9: the index is outside of interval”. I’m a newb when it comes to MS Excel and programming. The problem is in the line

MyKeys = Sheets("Keywords").Range("A2:A" & Sheets("Keywords").Cells(Rows.Count, 1).End(xlUp).Row)

of the macro.

How should I change it to conform with my spreadsheet?

Thanks for your help!

/Johan
Reply With Quote