Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello Steph, By setting an object variable to equal the active cell, you can derive all the information you want like this... Dim Addx As String Dim Rng As Range Dim WksName As String Dim WkbName As String Set Rng = ActiveCell Addx = Rng.Address WksName = Rng.Parent.Name WkbName = Rng.Parent.Parent.Name Sincerely, Leith Ross -- Leith Ross Sincerely, Leith Ross 'The Code Cage' (http://www.thecodecage.com/) ------------------------------------------------------------------------ Leith Ross's Profile: http://www.thecodecage.com/forumz/member.php?userid=75 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=108727 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to create a range address with ADDRESS function? | Excel Worksheet Functions | |||
return cell address of longest text string in a range | Excel Discussion (Misc queries) | |||
Pass a string to an address | Excel Programming | |||
Using a string to reference an address | Excel Programming | |||
Passing Cell Address (String or Range) | Excel Programming |