Question : Following code working in excel 2003 but not 2007

The following code is working in excel 2003 but not in excel 2007.  It is running the first VLOOKUP but skipping the rest...........please help.....

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
Sheets("KBE Check").Select

Range("I2").Select


    x = 2
    
    Do Until Cells(x, 3) = ""
    
    Cells(x, 9).Select
    
    ActiveCell.FormulaR1C1 = _
        "=IF(ISNA(VLOOKUP(RC[-6],'KBE Data to pull From'!C[-8],1,FALSE))=FALSE,""OK"",""Missing KBE"")"
        
        If ActiveCell.Value = "Missing KBE" Then
        
                ActiveCell.FormulaR1C1 = _
            "=IF(ISNA(VLOOKUP(RC[-6],'KBE Data to pull From'!C[-6],1,FALSE))=FALSE,""Rejected KBE"",""Missing KBE"")"
        
                If ActiveCell.Value = "Missing KBE" Then
            
                        ActiveCell.FormulaR1C1 = _
                    "=IF(ISNA(VLOOKUP(RC[-6],'KBE Data to pull From'!C[-4],1,FALSE))=FALSE,""KBE Needs Review"",""Missing KBE"")"
                    
                        If ActiveCell.Value = "Missing KBE" Then

                                ActiveCell.FormulaR1C1 = _
                            "=IF(ISNA(VLOOKUP(RC[-6],'KBE Data to pull From'!C[-2],1,FALSE))=FALSE,""In Ready for KBE 47"",""Missing KBE"")"
                            
                                If ActiveCell.Value = "Missing KBE" Then
                                
                                        ActiveCell.FormulaR1C1 = _
                                    "=IF(ISNA(VLOOKUP(RC[-6],'KBE Data to pull From'!C,1,FALSE))=FALSE,""In Ready for KBE 48"",""Missing KBE"")"
                                    
                                End If
                                
                        End If
                        
                End If
                
        End If
                
        
    
    x = x + 1
    
    Loop


-Brandon

Answer : Following code working in excel 2003 but not 2007

                                                      For anybody interested in how I solved my problem. I used the javax.ws.rs.core.Context annotation.

@Context
HttpServletResponse response;

Then in my service methods I added this:
response.addHeader("name", "value");

That is it.


Random Solutions  
 
programming4us programming4us