Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 460
Default Referncing the current cell name in an Excel MACRO

Hi there,

Pelase can you tell me how to reference the currect cell name in a macro.
Not the cell value, but the actual cell name (E.g. AB3). I have a loop
through a range of cell and want to know which cell I am current in. See code
below

For Each c In Worksheets("Calc4").Range("E3:CV3").Cells

I need to know where I am between E3 and CV3 by referring programatically to
the cell name (E.g. Cell AB3)

Thanking you
Doug
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Referncing the current cell name in an Excel MACRO

c.address


"Doug" wrote:

Hi there,

Pelase can you tell me how to reference the currect cell name in a macro.
Not the cell value, but the actual cell name (E.g. AB3). I have a loop
through a range of cell and want to know which cell I am current in. See code
below

For Each c In Worksheets("Calc4").Range("E3:CV3").Cells

I need to know where I am between E3 and CV3 by referring programatically to
the cell name (E.g. Cell AB3)

Thanking you
Doug

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
error when running cut & paste macro Otto Moehrbach Excel Worksheet Functions 4 August 9th 06 01:49 PM
How to stop Excel remembering/loading macro from previously opened Workbook Norman Yuan Excel Discussion (Misc queries) 4 June 17th 06 04:13 PM
Row Expansion Susan Excel Worksheet Functions 11 February 28th 06 07:15 PM
Pasting Word table cell with paragraph markers into single Excel c Steve Excel Discussion (Misc queries) 1 June 16th 05 11:26 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 03:16 AM.

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"