Sektor, hoping that I'm not over-analytical, let me mention this:
In order for the
With Sheet2.DropDowns(Application.Caller)
to work, a valid SheetName must have been assigned to the "Sheet2" qualifier.
i.e. the following lines must come beforehand (in Excel 2003 VBA):
Code:
Dim Sheet2 as Worksheet
Set Sheet2 = Worksheets("Sektor") 'if Sektor is the name of the Sheet with the dropdown
With Sheet2.DropDowns(Application.Caller)
' etc.....
I guess you must have something similar in XL 2007 VBA (if not exactly the same).
If this is not the case and Sheet2 is the name of the Sheet, then I would insist that my previous mail should work just fine (use Sheets("Sheet2")).
Try this: Change the name of your Sheet to "Sektor" and try using Sheets("Sector").