Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default forgotten object

Private Sub Worksheet_Change(ByVal Datarget As Range)
Datarget.Font.ColorIndex = 5
End Sub
=====================
Hi

At one time, I must have gotten this code in the VBAProject | Microsoft
Excel Objects | This Workbook.

I'm trying to figure where I can find Datarget.

Please advise.
Thanks
Steve



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default forgotten object

Steve,

This line of code might work and tell you the sheet that the range is on.

msgbox Datarget.parent.name

hth,

Doug

"SP" wrote in message
...
Private Sub Worksheet_Change(ByVal Datarget As Range)
Datarget.Font.ColorIndex = 5
End Sub
=====================
Hi

At one time, I must have gotten this code in the VBAProject | Microsoft
Excel Objects | This Workbook.

I'm trying to figure where I can find Datarget.

Please advise.
Thanks
Steve





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
forgotten password [email protected] Excel Discussion (Misc queries) 2 September 14th 06 12:40 PM
forgotten passwor [email protected] Excel Discussion (Misc queries) 1 September 14th 06 10:27 AM
HELP, I'VE FORGOTTEN Mickey Mouse Excel Worksheet Functions 4 February 8th 06 10:05 PM
Please help, forgotten password Louis Herndon Excel Discussion (Misc queries) 1 April 19th 05 04:27 PM
Forgotten Password Sophie Excel Programming 4 December 15th 04 10:33 AM


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