Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
impose a value from workbook A to a cell in workbook B without for
how can I impose a value from a cell in workbook A to a cell in workbook B
without using a formule in workbook B? somebody having an idea? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
impose a value from workbook A to a cell in workbook B without for
If I understand, it doesn't seem possible without a formula or without VBA.
-- HTH RP (remove nothere from the email address if mailing direct) "Luc" wrote in message ... how can I impose a value from a cell in workbook A to a cell in workbook B without using a formule in workbook B? somebody having an idea? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
impose a value from workbook A to a cell in workbook B without for
Right click on the sheet tab of the sheet where you will edit the cell.
Select view code and put in code like this: Private Sub Worksheet_Change(ByVal Target As Range) If target.Adderss = "$A$1" Then workbooks("WorkbookB.xls").Range("A1").Value = Target.Value End if End Sub WorkbookB.xls must be open. -- Regards, Tom Ogilvy "Luc" wrote in message ... how can I impose a value from a cell in workbook A to a cell in workbook B without using a formule in workbook B? somebody having an idea? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
impose a value from workbook A to a cell in workbook B without for
typo alert <bg:
Private Sub Worksheet_Change(ByVal Target As Range) If target.Address = "$A$1" Then workbooks("WorkbookB.xls").worksheets("sheet1").Ra nge("A1").Value _ = Target.Value End if End Sub (I added worksheets(), too.) (I wonder if Adderss was one of Peo's Swedish pals? <gd&r) Tom Ogilvy wrote: Right click on the sheet tab of the sheet where you will edit the cell. Select view code and put in code like this: Private Sub Worksheet_Change(ByVal Target As Range) If target.Adderss = "$A$1" Then workbooks("WorkbookB.xls").Range("A1").Value = Target.Value End if End Sub WorkbookB.xls must be open. -- Regards, Tom Ogilvy "Luc" wrote in message ... how can I impose a value from a cell in workbook A to a cell in workbook B without using a formule in workbook B? somebody having an idea? -- Dave Peterson |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
impose a value from workbook A to a cell in workbook B without for
Good Catch - Thanks!
-- Regards, Tom Ogilvy "Dave Peterson" wrote in message ... typo alert <bg: Private Sub Worksheet_Change(ByVal Target As Range) If target.Address = "$A$1" Then workbooks("WorkbookB.xls").worksheets("sheet1").Ra nge("A1").Value _ = Target.Value End if End Sub (I added worksheets(), too.) (I wonder if Adderss was one of Peo's Swedish pals? <gd&r) Tom Ogilvy wrote: Right click on the sheet tab of the sheet where you will edit the cell. Select view code and put in code like this: Private Sub Worksheet_Change(ByVal Target As Range) If target.Adderss = "$A$1" Then workbooks("WorkbookB.xls").Range("A1").Value = Target.Value End if End Sub WorkbookB.xls must be open. -- Regards, Tom Ogilvy "Luc" wrote in message ... how can I impose a value from a cell in workbook A to a cell in workbook B without using a formule in workbook B? somebody having an idea? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Finding a Workbook based on a Cell information in another Workbook | Excel Worksheet Functions | |||
linked workbook cell returns 0 is source workbook cell is blank? | Excel Worksheet Functions | |||
Refresh pivot table in workbook A when changing a cell in workbook | Excel Worksheet Functions | |||
pulling color from cell of workbook to another linked workbook | Excel Discussion (Misc queries) | |||
automatically move cell data in 1 workbook to another workbook | Excel Worksheet Functions |