Hi Jimmy,
one worksheet holds 255*65,536 cells, that is 16,711,680 cells, much more
than your 340,000 rows. Can you spread your data to several columns?
I don't know how your script works, but you can always go through worksheets
in a workbook by a script:
Sub Example()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Sheets
' your code here...
Next ws
End Sub
Or maybe "your code" is wrapped around the For Next loop. Depends on how
your code is written.
HTH,
Jouni
Finland
"jimmy" wrote in message
...
I have a script that will delete duplicate entries for a
user selected column. My problem is that the data set i
am currently working on is HUGE, spread across 5 sheets,
and duplicates can occur on any of the 5 sheets. My
question is how to modify my script so that it checks each
sheet instead of only one.
if thats too specific, i guess i could use the vb code
that would scan across multiple worksheets instead of just
one. the file contains 340,000 rows.