Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Brian was thinking very hard :
On Thursday, April 26, 2012 8:15:16 PM UTC+2, GS wrote: Brian submitted this idea : In cell A2 I have determined the number 3 In A3 I have created a cell reference Scoresheet1!AD3 Which references a cell on another sheet, I am looking for the VBA code which will enable me to place the number in cell A2 in the cell rerenced in cell A3 I am using Excel 2007 appreciate any help. This presumes the sheet containing the target cell (A2) is the active sheet, AND the cell containing the ref (A3) is the active cell. Dim vSource As Variant vSource = Split(ActiveCell.Value, "!") ActiveCell.Offset(0, -1).Value = _ Sheets(vSource(0)).Range(vSource(1)).Value -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion Thank you this works perfectly. Your assistance is much appreciated You're welcome! I appreciate the feedback... -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Referenced cell displays formula, not data | New Users to Excel | |||
Highlight Cell Based Upon Referenced Cell Data | Excel Worksheet Functions | |||
Can data validation ranges be linked to a referenced cell? | Excel Programming | |||
Having cell contents enter into cell referenced | Excel Discussion (Misc queries) | |||
The match and lookup functions can find literal data but not the same data referenced from a cell | Excel Discussion (Misc queries) |