Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How can I extract cells address in OnCahnge event

Hi,

I'm trying to extract the cells address for more then one cell in OnChange event.

I can use the Target.Address property if only one cell is changed,
How i get the address for each cell in case i have more the one?

Thanks,
Guy.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How can I extract cells address in OnCahnge event

Hi
try
dim cell
for each cell in target
msgbox cell.address
next

-----Original Message-----
Hi,

I'm trying to extract the cells address for more then one

cell in OnChange event.

I can use the Target.Address property if only one cell is

changed,
How i get the address for each cell in case i have more

the one?

Thanks,
Guy.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default How can I extract cells address in OnCahnge event

Hello
If Target.Cells.Count 1 Then
MsgBox Target.Cells.Address
End If
HTH
Cordially
Pascal

"Guy" a écrit dans le message de
om...
Hi,

I'm trying to extract the cells address for more then one cell in OnChange

event.

I can use the Target.Address property if only one cell is changed,
How i get the address for each cell in case i have more the one?

Thanks,
Guy.



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
How do I extract a string from an IP address in Excel? mardoh Excel Discussion (Misc queries) 2 February 3rd 10 02:54 PM
How do I extract a string from an IP address in Excel? Don Guillett[_2_] Excel Discussion (Misc queries) 0 February 3rd 10 02:21 PM
Extract address data Marco Margaritelli Excel Worksheet Functions 2 August 31st 09 07:58 PM
Extract Mailing Address to multiple cells Eric Excel Worksheet Functions 1 November 3rd 08 04:08 PM
Extract comma broken address to cells bbc1 Excel Discussion (Misc queries) 5 February 14th 05 11:21 AM


All times are GMT +1. The time now is 06:18 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"