Hello,
I have excel sheet created via Interop (C#)
having 2 sheets,sheets 1 has customername(say 1000) as hyperlink,after click on link it moves to 2nd sheet.
I want the cell to moved(of sheet2) to display on top(first row)
My code is like this
strCol = (char)(asciiChar) + rowNumber.ToString();
range = sheet.get_Range(strCol, strCol);
sheet.Hyperlinks.Add(range, "#" + sheet1.Name + "!C" + moveToRow, Type.Missing, "Go to", dsCustomer.Tables[0].Rows[i][1].ToString());0].Rows[i][1].ToString());
lets see.
in sheet 1 i have 1k customerlist with link, i have to fill sales data for items assigned to customer which i placed in sheet2 ,now if items are 100 for each customer cust1 displayed on row1 then 100 items rows and 2nd customer on row 103 and so on.
When i click on 2nd customer from sheet1 it goes to 103rd row in sheet2 and it display in middle or below in the screen and user wants to scroll it for inserting data.
My requirement is my 103rd row should displayed on top of the sheet so no need to scroll.
Your help is appreciated.
Thanks in advance