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

I have a workbook with two worksheets "Time In" and "Time Out". On
each of these pages, I added a Sub that checks for entry in a column
and timestamps the neighboring cell.

I can't find the Sub Worksheet_Change in "Time In". It still works,
but I can't find the code.

When I go to View Code, I can find the Sub under "Time Out". When I
go to "Time In" in the code window, Sub Worksheet_Change is not there.

Help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default Worksheet_Change

When you click "View Code" VBA Editor will open. There will be two List
Boxes at the top or the window. The one on the left will need to say
"Worksheet", if not select "Worksheet". The one on the right should say
"Change", if not select "Change".

This will get you to the code you want to see.

Ryan

"General Specific" wrote:

I have a workbook with two worksheets "Time In" and "Time Out". On
each of these pages, I added a Sub that checks for entry in a column
and timestamps the neighboring cell.

I can't find the Sub Worksheet_Change in "Time In". It still works,
but I can't find the code.

When I go to View Code, I can find the Sub under "Time Out". When I
go to "Time In" in the code window, Sub Worksheet_Change is not there.

Help!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 192
Default Worksheet_Change

Is it possible that you saved the macro within one of the sheets? Open up
all the sheets/modules within the project viewer (upper left of the VBA
window) and check for the code. If it's working, it should be there.

"General Specific" wrote:

I have a workbook with two worksheets "Time In" and "Time Out". On
each of these pages, I added a Sub that checks for entry in a column
and timestamps the neighboring cell.

I can't find the Sub Worksheet_Change in "Time In". It still works,
but I can't find the code.

When I go to View Code, I can find the Sub under "Time Out". When I
go to "Time In" in the code window, Sub Worksheet_Change is not there.

Help!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Worksheet_Change

It is also possible that you used the Workbook_SheetChange which would be in
the ThisWorkbook code module. Just check them all, it is there somewhere.

"StumpedAgain" wrote:

Is it possible that you saved the macro within one of the sheets? Open up
all the sheets/modules within the project viewer (upper left of the VBA
window) and check for the code. If it's working, it should be there.

"General Specific" wrote:

I have a workbook with two worksheets "Time In" and "Time Out". On
each of these pages, I added a Sub that checks for entry in a column
and timestamps the neighboring cell.

I can't find the Sub Worksheet_Change in "Time In". It still works,
but I can't find the code.

When I go to View Code, I can find the Sub under "Time Out". When I
go to "Time In" in the code window, Sub Worksheet_Change is not there.

Help!

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Worksheet_Change

On Jun 24, 11:24*am, RyanH wrote:
When you click "View Code" VBA Editor will open. *There will be two List
Boxes at the top or the window. *The one on the left will need to say
"Worksheet", if not select "Worksheet". *The one on the right should say
"Change", if not select "Change".

This will get you to the code you want to see.

Ryan



"General Specific" wrote:
I have a workbook with two worksheets "Time In" and "Time Out". *On
each of these pages, I added a Sub that checks for entry in a column
and timestamps the neighboring cell.


I can't find the Sub Worksheet_Change in "Time In". *It still works,
but I can't find the code.


When I go to View Code, I can find the Sub under "Time Out". *When I
go to "Time In" in the code window, Sub Worksheet_Change is not there.


Help!- Hide quoted text -


- Show quoted text -



No.

That's the problem. I find it that way in the sheet "Time Out", but
it won't let me for "Time In".

and it still works.


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Worksheet_Change

On Jun 24, 11:24*am, RyanH wrote:
When you click "View Code" VBA Editor will open. *There will be two List
Boxes at the top or the window. *The one on the left will need to say
"Worksheet", if not select "Worksheet". *The one on the right should say
"Change", if not select "Change".

This will get you to the code you want to see.

Ryan



"General Specific" wrote:
I have a workbook with two worksheets "Time In" and "Time Out". *On
each of these pages, I added a Sub that checks for entry in a column
and timestamps the neighboring cell.


I can't find the Sub Worksheet_Change in "Time In". *It still works,
but I can't find the code.


When I go to View Code, I can find the Sub under "Time Out". *When I
go to "Time In" in the code window, Sub Worksheet_Change is not there.


Help!- Hide quoted text -


- Show quoted text -


Found it.

It was after 100 blank lines of code.

Sorry
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
worksheet_Change Leslieac Excel Programming 2 February 22nd 06 07:31 PM
Worksheet_change Andrew haycock Excel Programming 2 September 3rd 03 05:32 PM
worksheet_change vs. calculate, and worksheet_change not running Tom Ogilvy Excel Programming 1 July 14th 03 02:51 AM
worksheet_change vs. calculate, and worksheet_change not running Ross[_5_] Excel Programming 0 July 13th 03 04:27 PM


All times are GMT +1. The time now is 08:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"