I want to get values from other sheets.
I have some values in Excel (sheet2) for example:
A B C D - - - - 1 | 2 5 9 12 2 | 5 8
Try the worksheet activate command before you need data from the sheet:
objWorkbook.WorkSheets(1).Activate objWorkbook.WorkSheets(2).Activate