Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have bunch of cells from different sheets in a datagrid (that datagrid is
attached to Excel workbook thru some addin). If there are 2 cells (like $M$8 from Sheet1 and Sheet2 in that datagrid) - when I click Sheet1$M$8 - then it should hightlight sheet1 M8 cell and when I click Sheet2$M$8 - then it should highlight sheet2 M8 cell - but right now when I select Sheet1$M$8 and Sheet2$m$8 - it highlights same cell (M8 from sheet1) as my sheet1 is active sheet at this point. How do I dynamically change sheets? any help is really appreciated!! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sheet2.Activate
Mike F "Dev" wrote in message ... I have bunch of cells from different sheets in a datagrid (that datagrid is attached to Excel workbook thru some addin). If there are 2 cells (like $M$8 from Sheet1 and Sheet2 in that datagrid) - when I click Sheet1$M$8 - then it should hightlight sheet1 M8 cell and when I click Sheet2$M$8 - then it should highlight sheet2 M8 cell - but right now when I select Sheet1$M$8 and Sheet2$m$8 - it highlights same cell (M8 from sheet1) as my sheet1 is active sheet at this point. How do I dynamically change sheets? any help is really appreciated!! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks that worked..
"Mike Fogleman" wrote: Sheet2.Activate Mike F "Dev" wrote in message ... I have bunch of cells from different sheets in a datagrid (that datagrid is attached to Excel workbook thru some addin). If there are 2 cells (like $M$8 from Sheet1 and Sheet2 in that datagrid) - when I click Sheet1$M$8 - then it should hightlight sheet1 M8 cell and when I click Sheet2$M$8 - then it should highlight sheet2 M8 cell - but right now when I select Sheet1$M$8 and Sheet2$m$8 - it highlights same cell (M8 from sheet1) as my sheet1 is active sheet at this point. How do I dynamically change sheets? any help is really appreciated!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Programmatically determining CODE NAME for sheet based upon Sheet | Excel Programming | |||
Unable to move sheet after inserting it programmatically | Excel Programming | |||
how to access excel sheet programmatically????? | Excel Programming | |||
Programmatically printing x pages/sheet | Excel Programming | |||
Is it possible to programmatically add a multi-column list box or drop down box to a sheet? | Excel Programming |