Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RefEdit Control on Excel Form

Status
Not open for further replies.

SonicBoomBand

Technical User
Jun 4, 2004
42
GB
I'm trying to return a cell address into my code but can't seem to get any code to run once the RefEdit Control has been changed. The Change Event just crashes me out of Excel and the AfterUpdate Event just doesn't get called.

Has anybody got any ideas?

Andrew Chamberlain
National Grid Transco
 
Your post is kind of vague. I would guess that because you are using the "Change Event" and "After Update" that you are placing code into a sheet or workbook in these subs. If that is the case the "Target" variable IS the cell and you can reference it by using "Target" to get the following
Code:
 Target.address
Target.row
Target.value
Target.colum etc. etc. etc.
 
disregard my previous post. Must have been an LSD flashback.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top