Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default time/timing/breakpoint (2)

If it is improper to start a new thread because the first became too lengthy,
I apologize.

The two procedure that follow should behave identically - as far as I can
see - but they don't.

The first puts the actual date/time into column 49 of the actual record and
then proceeds to the next record (by "pressing" the control-button bnNext).

The second leaves column 49 empty and proceeds to the next record. (However,
a breakpoint at tbtime.value=... and a stepwise execution put the data in
column 49 and then proceed.)

I would like to understand what's happening!

Oskar von dem Hagen

Procedure 1:

Private Sub cbtime_Click()
rgData.Cells(1, 49).Value = Now()
Call bnNext_Click
End Sub

Procedure 2:

Private Sub LoadRecord()
[...]
tbtime.ControlSource = rgData.Cells(1, 49).Address()
End Sub

Private Sub cbtime_Click()
tbtime.Value = Now()
Call bnNext_Click
End Sub

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
breakpoint calculation RagDyeR Excel Worksheet Functions 0 October 22nd 08 03:12 AM
breakpoint calculation Ron Rosenfeld Excel Worksheet Functions 0 October 22nd 08 03:07 AM
How can I enter time in Excel in 10:15:10:02 for sport timing ? Mathias Charts and Charting in Excel 4 October 18th 08 09:09 PM
time/timing/breakpoint Oskar von dem Hagen[_2_] Excel Programming 4 May 25th 05 03:56 PM


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