Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rob
What I need is code to display in Macro when open for editing the value of AL2 which contains Row # 4 following is part of my code ' Before runing Macro must Edit the Row # the Scores are being entered in ' Range(Range("AL2")).Value.Selec Dim var As Varian var = Range("AL2").Valu MsgBox var & "is number 'Highlight following code at this point, select EDIT, then Replace; in Replac 'Box in Find What area, enter Row # to find and replace; in Replace With area 'enter Row # where you want scores copied to NEED TO DISPLAY VALUE OF WORKSHEET RANGE "AL2" HERE SO KNOW WHAT TO CHANGE 36 TO FOR EXAMPLE CURRENT ROW TO POST IS: 4 ' Macro set up to enter Scores in Row '3 'Displays Row # in workshee 'ValueRow = 3 Range("AJ22").Selec ActiveCell.Value = 3 'ActiveCell.Formula = ValueRo 'Team Range("c36").Selec 'Application.Goto Reference:="R36C3" 'c3 ActiveCell.Formula = Value01 Range("i36").Selec 'Application.Goto Reference:="R36C9" 'i3 ActiveCell.Formula = Value01 Range("p36").Selec 'Application.Goto Reference:="R36C16" 'p3 ActiveCell.Formula = Value02 Range("v36").Selec 'Application.Goto Reference:="R36C22" 'v3 ActiveCell.Formula = Value02 'Team Thanks for your hel Bob Leonard |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
When entering data into a range of cells, select the entire range. | Excel Discussion (Misc queries) | |||
Entering numerical range | Excel Discussion (Misc queries) | |||
Entering a range of numbers and searching same | Excel Discussion (Misc queries) | |||
Macro to print a selected range, not entire worksheet | Excel Discussion (Misc queries) | |||
How? Macro to copy range to new worksheet, name new worksheet, loop | Excel Programming |