yronium Level: Moderator

 Registered: 14-04-2002 Posts: 907
|
Re: Macro's in excel.. Help needed Archived to Disk
well, I think there's no need to use a macro, as the Excel's Paste function window (it appears by clicking on the f(x) button in the Standard toolbar, or in the Insert/Function menu) includes the ROW.REF() function. I'm not sure of the exact name of this function, because I'm translating the name from my italian version of Excel. However you can find it in the Search and Reference cathegory.
It provides the number of the row of a specified reference, regardless on the matrix reference style (R1C1 or A1). You can include this function into your equations and formulas.
Anyway in VBA is avaliable the Range() function, that points at a specified address or cell. Watch the online help to get more infos.
Hope it helps.
Ciao.
____________________________
Real Programmer can count up to 1024 on his fingers
|