Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Identify Cell location in VBA

James,

Sub test()
Dim rng As Range

Set rng = ActiveCell
Debug.Print rng.Address
End Sub

Rob


"James Stricklen" wrote in message
...
Hello, I'm trying to identify the current cell location using code. For

example, the active cell is A1. I was looking for some code which would
take the active cell and store it in a variable. Any help would be
appreciated.

James



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
identify list used in a cell Don Excel Discussion (Misc queries) 2 May 28th 08 11:57 PM
Identify the cell with Max & Min values skysusan Excel Worksheet Functions 1 November 8th 06 03:04 AM
How to identify a cell without a formula Kevin Excel Discussion (Misc queries) 5 May 14th 05 11:42 PM
How to identify source or location of MAX_VALUE in range Phil Excel Worksheet Functions 5 March 7th 05 11:21 PM
Identify link location igor Excel Programming 2 December 10th 03 05:03 PM


All times are GMT +1. The time now is 07:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"