Hi
I'm porting an Excel VBA application (which someone else programmed a long time ago) into .NET web application. I'm very confuzed with one thing:
I have 3 Sheets:
1) "Data" which has 2100 records (students data)
2) "Status" which is the destination sheet
3) "Ber" which is appearantly a sheet for criteria definitions
Theres a macro that copies from "Data" to "Status":
-START-
Sheets("Status").Range("a2:j2", Sheets("Status").Range("a2").End(xlDown)).ClearContents
Sheets("Data").Range("a1:u1", Sheets("Data").Range("a1").End(xlDown)).AdvancedFilter Action:=xlFilterCopy, _
CriteriaRange:=Sheets("Ber").Range("KritBrev"), CopyToRange:=Sheets("Status").Range("A1:j1"), Unique:=True
-END-
As you can see it is copied with a special filter taken from Sheet("Ber").Range("KritBrev"). The problem is I can't figure out how to pull this criteria definition so I can use it in my .NET application. How do I pull the criteria definition from Sheets("Ber").Range("KritBrev") ??
Please help!
I'm porting an Excel VBA application (which someone else programmed a long time ago) into .NET web application. I'm very confuzed with one thing:
I have 3 Sheets:
1) "Data" which has 2100 records (students data)
2) "Status" which is the destination sheet
3) "Ber" which is appearantly a sheet for criteria definitions
Theres a macro that copies from "Data" to "Status":
-START-
Sheets("Status").Range("a2:j2", Sheets("Status").Range("a2").End(xlDown)).ClearContents
Sheets("Data").Range("a1:u1", Sheets("Data").Range("a1").End(xlDown)).AdvancedFilter Action:=xlFilterCopy, _
CriteriaRange:=Sheets("Ber").Range("KritBrev"), CopyToRange:=Sheets("Status").Range("A1:j1"), Unique:=True
-END-
As you can see it is copied with a special filter taken from Sheet("Ber").Range("KritBrev"). The problem is I can't figure out how to pull this criteria definition so I can use it in my .NET application. How do I pull the criteria definition from Sheets("Ber").Range("KritBrev") ??
Please help!