#1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default Reply

Hi,

You can capture these values using the worksheet change event. Right click
the sheet tab, view code and paste this in:

Private Sub Worksheet_Change(ByVal Target As Range)
MsgBox Target.Value & Chr(13) & Target.Address & Chr(13) & Target.Column &
Chr(13) & Target.Row
End Sub

change a cell and a message pops up with the value, address, row and column

Mike

"feebo" wrote:

Afternoon group... you are all well I trust?

I have been writing VB stuff for years b ut only now has the
requiremement fallen upon me to het involved with macros in excel and
whereas the actual code of the macro is fine, I am having dificulties
getting my head round the concepts.

I have a specific problem that i would welcome comment or advice on:

I have a worksheet that may or may not have a value entered ina
specific cell. When a value is entered I need to grab that, do some
work on it and update some cells on the same row.

How on earth do I grab the reference for the cell that just changeds
and how do i pick from that the row in order to address the cells
further along.

This sounds pretty basic but I have been scratching my head for two
days now and can't seem to find a solution when googling - most likely
I just can't get the wording right - I get loads of stuff but none of
it really suits what i'm after.... HELP!!!

all the best

H

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
No reply Gary Excel Worksheet Functions 1 March 17th 06 05:29 PM
Reply JohnUK Excel Discussion (Misc queries) 1 February 27th 05 07:21 PM
No need to reply!! nrage21[_32_] Excel Programming 0 February 12th 04 10:22 PM
Reply to Tom Phil Perry Excel Programming 1 July 12th 03 05:56 PM
Reply to Tom phil perry Excel Programming 0 July 11th 03 09:11 PM


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