|
-
May 26th, 2010, 09:14 AM
#1
Thread Starter
Junior Member
[RESOLVED] VB2008-How to use "Array" member of excel
Hi all,
I am using Visual Basic 2008 to manipulate some data in a spreadsheet. I am having a problem using Excel's built in RemoveDuplicates function. Here is the line of code I need to fix...
wSheet.Range(strRange).RemoveDuplicates(Columns:=Array(1, 2, 3, 4, 5, 6), Header:=Excel.XlYesNoGuess.xlNo)
The keyword "Array" is where the issue lies. What is "Array" a member of? I tried the object library but did not find it in there. I can use another method to remove the duplicates but am still curious.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|