Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I've got following situation. Got to 2 sheets, one as a kind of dashboard (import previous budgets, create new one) and second with the (supposed to be) imported budget. I've also written simple budget class with few fields (I'm using VS2008, NET 3.5). I'm reading xml file to create budget object and I do not know how to pass data from budget object to cells in another sheet. Let me be more clear: In Sheet called "Dashboard" user will choose which budget(s) to import, budgets' objects are created and now I want to switch somehow to Sheet "Budget" to fill proper cell with data. How can I do it? Przemek |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Something like this should do it:
Sheets("Budget").Select or Sheets(3).Select Look at this reference (it even uses the same name you use in your Workbook): http://www.ozgrid.com/VBA/excel-vba-sheet-names.htm Ryan--- -- RyGuy-- If the post was helpful, please click the ''Yes'' button to indicate such! "Przemek" wrote: Hi, I've got following situation. Got to 2 sheets, one as a kind of dashboard (import previous budgets, create new one) and second with the (supposed to be) imported budget. I've also written simple budget class with few fields (I'm using VS2008, NET 3.5). I'm reading xml file to create budget object and I do not know how to pass data from budget object to cells in another sheet. Let me be more clear: In Sheet called "Dashboard" user will choose which budget(s) to import, budgets' objects are created and now I want to switch somehow to Sheet "Budget" to fill proper cell with data. How can I do it? Przemek |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro not running in Protect Sheet | Excel Programming | |||
Macro not running in Protect Sheet | Excel Programming | |||
Running Macro Across More Than One Sheet | Excel Programming | |||
VSTO running unattended | Excel Programming | |||
Running Macro on every sheet in Workbook !!! | Excel Programming |