Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default now function not to update

Hi,
First of all I search for smilar question but could not get any
answer,if this is duplucated question,please accept my appoligies.
I have a spread sheet which looks like a log file.What I want to do
is, when I enter a number in a cell in A coloumn, to display the time
in column B.I tried now,but when the next number entered in column A
it all change the entire colum B.I haveother formulas,so that I cannot
chose manual calculations options.
Thanks for your help.
Baha
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default now function not to update

You need an event macro to do that:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then 'Column A
Range("B" & Target.Row) = Time
End If
End Sub

Post if you need help to install it!

Regards,
Stefi
€˛baha€¯ ezt Ć*rta:

Hi,
First of all I search for smilar question but could not get any
answer,if this is duplucated question,please accept my appoligies.
I have a spread sheet which looks like a log file.What I want to do
is, when I enter a number in a cell in A coloumn, to display the time
in column B.I tried now,but when the next number entered in column A
it all change the entire colum B.I haveother formulas,so that I cannot
chose manual calculations options.
Thanks for your help.
Baha

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default now function not to update

On Sep 25, 6:22*pm, Stefi wrote:
You need an event macro to do that:

Private Sub Worksheet_Change(ByVal Target As Range)
* * If Target.Column = 1 Then * 'Column A
* * * * Range("B" & Target.Row) = Time
* * End If
End Sub

Post if you need help to install it!

Regards,
Stefi
„baha” ezt ķrta:



Hi,
First of all I search for smilar question but could not get any
answer,if this is duplucated question,please accept my appoligies.
I have a spread sheet which looks like a log file.What I want to do
is, when I enter a number in a cell in A coloumn, to display the time
in column B.I tried now,but when the next number entered in column A
it all change the entire colum B.I haveother formulas,so that I cannot
chose manual calculations options.
Thanks for your help.
Baha- Hide quoted text -


- Show quoted text -


Hi Stefi,
Thanks for the reply,how do I put that macro?In the sheet or this
workbook?Or honestly I don't know how to run that that macro ?
Thank you very much for the help
baha
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default now function not to update

On Sep 25, 6:36*pm, baha wrote:
On Sep 25, 6:22*pm, Stefi wrote:





You need an event macro to do that:


Private Sub Worksheet_Change(ByVal Target As Range)
* * If Target.Column = 1 Then * 'Column A
* * * * Range("B" & Target.Row) = Time
* * End If
End Sub


Post if you need help to install it!


Regards,
Stefi
„baha” ezt ķrta:


Hi,
First of all I search for smilar question but could not get any
answer,if this is duplucated question,please accept my appoligies.
I have a spread sheet which looks like a log file.What I want to do
is, when I enter a number in a cell in A coloumn, to display the time
in column B.I tried now,but when the next number entered in column A
it all change the entire colum B.I haveother formulas,so that I cannot
chose manual calculations options.
Thanks for your help.
Baha- Hide quoted text -


- Show quoted text -


Hi Stefi,
Thanks for the reply,how do I put that macro?In the sheet or this
workbook?Or honestly I don't know how to run that that macro ?
Thank you very much for the help
baha- Hide quoted text -

- Show quoted text -


Thank you Feli I managed to do that.Thank you very much for the help
Have a good weekend
Baha
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default now function not to update

Open VBA (Alt+F11)!
Right click on your worksheet name in the Project explorer window!
Select View code from the popup menu!
Copy/Paste macro code in the code window!

Thre is no need for any further actions, the event macro shall be triggered
automatically whenever you enter data in column A.


Regards,
Stefi

€˛baha€¯ ezt Ć*rta:

On Sep 25, 6:22 pm, Stefi wrote:
You need an event macro to do that:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then 'Column A
Range("B" & Target.Row) = Time
End If
End Sub

Post if you need help to install it!

Regards,
Stefi
€˛baha€¯ ezt Ć*rta:



Hi,
First of all I search for smilar question but could not get any
answer,if this is duplucated question,please accept my appoligies.
I have a spread sheet which looks like a log file.What I want to do
is, when I enter a number in a cell in A coloumn, to display the time
in column B.I tried now,but when the next number entered in column A
it all change the entire colum B.I haveother formulas,so that I cannot
chose manual calculations options.
Thanks for your help.
Baha- Hide quoted text -


- Show quoted text -


Hi Stefi,
Thanks for the reply,how do I put that macro?In the sheet or this
workbook?Or honestly I don't know how to run that that macro ?
Thank you very much for the help
baha



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default now function not to update

You are welcome! Thanks for the feedback!
Stefi
Clicking the YES button will be appreciated.



€˛baha€¯ ezt Ć*rta:

On Sep 25, 6:36 pm, baha wrote:
On Sep 25, 6:22 pm, Stefi wrote:





You need an event macro to do that:


Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then 'Column A
Range("B" & Target.Row) = Time
End If
End Sub


Post if you need help to install it!


Regards,
Stefi
€˛baha€¯ ezt Ć*rta:


Hi,
First of all I search for smilar question but could not get any
answer,if this is duplucated question,please accept my appoligies.
I have a spread sheet which looks like a log file.What I want to do
is, when I enter a number in a cell in A coloumn, to display the time
in column B.I tried now,but when the next number entered in column A
it all change the entire colum B.I haveother formulas,so that I cannot
chose manual calculations options.
Thanks for your help.
Baha- Hide quoted text -


- Show quoted text -


Hi Stefi,
Thanks for the reply,how do I put that macro?In the sheet or this
workbook?Or honestly I don't know how to run that that macro ?
Thank you very much for the help
baha- Hide quoted text -

- Show quoted text -


Thank you Feli I managed to do that.Thank you very much for the help
Have a good weekend
Baha

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
Don't Update Function RedFive Excel Discussion (Misc queries) 1 September 23rd 08 02:38 PM
function update rossita77BG Excel Worksheet Functions 3 May 18th 08 05:49 PM
Auto Update Function Brite Excel Discussion (Misc queries) 2 July 6th 07 04:14 PM
Function Update Stevek Excel Worksheet Functions 3 December 14th 06 06:48 PM
Timestamp function that does not update in Excel? Guard823 Excel Worksheet Functions 1 February 25th 05 01:10 PM


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