Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatic detection of a change in a column/cell

Hi

I need to run some code to export a row from one worksheet
to another when a cell has a date in it, also to remove
the exported row when the cell is blanked, does anyone
know a way of detecting when a cell has been changed ?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Automatic detection of a change in a column/cell

Right click the sheet tab and select View Code. Then
paste the following to the worksheet code module:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
'Your code here.
End Sub

Regards,
Greg

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

I need to run some code to export a row from one

worksheet
to another when a cell has a date in it, also to remove
the exported row when the cell is blanked, does anyone
know a way of detecting when a cell has been changed ?

Thanks
.

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
Automatic cell color change when filled? Michele R Excel Discussion (Misc queries) 5 February 3rd 10 08:26 PM
How do I change the format/cell/border/automatic color to black tanya Excel Discussion (Misc queries) 1 March 6th 06 08:00 PM
Can I change a cell and cause an automatic change in other cells Swissmiss Excel Worksheet Functions 2 August 12th 05 05:00 PM
Automatic change color of searched value in a column... MS Excel New Users to Excel 13 July 6th 05 01:27 PM
Color detection Dan wilson Excel Worksheet Functions 3 March 31st 05 03:51 PM


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