Update Web Query Every X & Time Stamp

Aug 15, 2007

I've got a web query setup to poll a table detailing traffic information from my state's DOT page.

I have the web query set to update every 5 min.

I would like to save a particular cell from this query every 5 min and place a timestamp next to it.

Ultimately, I would like to build a table, one column = time, the other column = traffic data and have each row be 5 min apart.

View 9 Replies


ADVERTISEMENT

Web Query: Compare Columns & Date Time Stamp Differences

Oct 10, 2007

I have two identical web query's on the same sheet. One from column A to column I and the other one from column K to column S, and both have 404 rows. The one on the left (from column A to I) autorefreshes every 60 minutes and the one on the right (from column K to S) autorefreshes every 4 minutes. I want to subtract the numbers in column Q from column G and the ones in column R from column H, and in both cases if the result is bigger than 0 to place a timestamp in column Y(for Q-G), and in column Z (for R-H). I tried with NOW formula, but the timestamp changed every time the web query from the right autorefreshed, no matter of the result. I guess that I have to use VBA codes...but I'm not good at that .

View 9 Replies View Related

Update The Date Stamp On Save

Oct 27, 2008

Found this macro in a differant thread for a date stamp in A1. I changed it to C38. Also I have it in the workbook module. It is supposed to update the date stamp on save. I think if the data has been changed or not.

View 2 Replies View Related

Time Stamp Macro Tell Total Elapsed Time From When I Started To When I Finished

May 22, 2009

I am not sure that I can do this, but here is what I would like to do. I have a worksheet that I initial when I start a job in on cell and then when I finish in another cell. What I's like is to have a macro running in the back ground that will tell me the total elapsed time from when I started to when I finished.

View 5 Replies View Related

Create A Time Stamp That Shows Elapsed Time

Jan 25, 2010

I am trying to create a time stamp that shows elapsed time. So I enter my start time, and if I enter any text in cell B7, return the elapsed time in A7 based off of start time in A6. I have attached an example workbook.

View 2 Replies View Related

Adding Time More Than 24 Hours To Date Time Stamp?

May 30, 2012

I want to add hours to a date-time cell to get result in date-time.

Format of cell A1 is d/m/yy h:mm AM/PM
Format of cell A2 is General
Format of cell A3 is d/m/yy h:mm AM/PM

I want to add A2 (number of hours) to A1 to give A3.

The formula I used is A3=A1+Time(A2,0,0)

The formula works perfectly fine when A2 is less than 24, but when A2 is more than 24, the date doesn't get changed.

View 6 Replies View Related

Time Stamp When ROW Changes

Oct 3, 2008

I have an array starting at, lets say "C25" -header line Row 24- with data entry and calculations to Colume "AW25".
Each row represents a data record for a project, where different data types are used (Number & Text).
A "termination" row is set as last row.
New records are always enterd in row "25", but any row in the array is allowed to be deleted.

The number of rows can be extended or reduced, when entering/ deleting a new record (not all info are mandatory for calculations) - basic data is followed by lots of calculations for the record.
This leads to the issue that the array is dynamic regards amount of row.
To make it even more "fancy", the array can be sorted using data filter from row "25" to "last row -1".

I need to track when a record (any cell in the row) has been accessed/ modifed/ enterd last. The time stamp may only be altered when the particular record (row) is modified and NOT in case any of the cells is modified (NON-valotile)
I have foreseen to enter that date in Colum "Bxyz" of the array.
For a referrence I still have Colume "A" as "spare".
Depending on time difference I've to mark the "date" cell with conditional formating (this is an easy task I know how to do...).

Does any one has an idea how to implement such routine (sub or Function)..
Remeber, number of rows varies - up to now there are just 310 records, but will be much more in future.
Not to forget ... some of the Colums have data avalidation set...

View 10 Replies View Related

Hot Key Time Stamp W/ My Name

Jun 17, 2008

How can I make a hot key that puts todays date and my name on it so I don't have to type it over and over again?

View 9 Replies View Related

Time Stamp

May 3, 2006

I have a system of checkboxes and now I need a time stamp when the check box was marked TRUE. They ar linked to cells so the solution can be either linked to a cell or to a checkbox. Obviously I can't use Today or Now functions because they are refreshed. I found many solutions for time stamps when a change is made in a cell, but none of them worked for me. I tried altering them with no succsess. I would be very happy if the solution would apply to the whole column, not one cell and checkbox, because I have A LOT of checkboxes.

The checkboxes are in column B and I want the time( date) stamps in column C.

View 7 Replies View Related

Time Stamp Not Updating Time Value?

Apr 25, 2014

I've got a simple code that creates a new text file in which progress of the macro is logged. I wanted to add also time stamps at the end of each line, so that the user can see when a given stage of the macro finishes working.

[Code].....

And then, in various portions of the code, after certain jobs are finished, I simply add:

[Code] .....

And it all works fine, only the problem is the time stamp is not updated... So say I run the macro at 10:00 - the time stamp on each line shows (date) 10:00...

View 2 Replies View Related

Time Stamp Entries: Time At That Moment To Be Captured And Shown In Cell "B"

Aug 12, 2007

i type into any cell in row 1 i need the time at that moment to be captured and shown in cell "B". When i type into row 2, the time which i entered the data must be captured into row 2 cell "B".

View 5 Replies View Related

Time Stamp In Comments...

Nov 7, 2008

I have been able to use a time stamp code to put a date and time in a cell... I then worked out how to use this to list dates and times in the same cell (instead of replacing the cells contents)... using this

View 7 Replies View Related

Getting Time Stamp Macro

Oct 14, 2011

device a macro which should be able to provide a time stamp in Column B when the adjecent cell in Column C is updated.

i.e. If C1 is updated, B1 should get the time stamp. *& if the value in C1 is removed, then the time stamp in B1 should also be removed.

In addition to this, I would require the macro to unprotect the sheet before updating the timestamp and protecting it again after the time stamp has been enetered. further moving on to saving the sheet.

I tried to combine few updated macros to complete it bu have been unable to do so.

View 6 Replies View Related

Time And Username Stamp

Oct 21, 2011

This time stamp macro is great but I would also like to record the person who said 'Y' in the same cell as the date stamp '12:00p.m. MWatson'. The persons name should come from the Username.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range([P13], Cells(Rows.Count, "p"))) Is Nothing Then 'change your range on this line"
With ActiveSheet
If Target.Value = "Y" Then
Target.Offset(0, 1).Value = Now

[Code] ........

View 2 Replies View Related

Date & Time Stamp

Jan 11, 2007

I would like to take this VBA a step further. What I want to achieve is to date & time stamp a worksheet in cell A1 if any other cell within the sheet is altered. Below is the VBA I used today to enter the info if cell A1 is changed. Can anyone please help with my new target.

Just one more question: When a shared file is used is it possible to also enter the username of the person who's made the alteration.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
' Only look at single cell changes
If Target.Count > 1 Then Exit Sub
' Set Target Range
Set rng = Range("A1")
' Only look at that range
If Intersect(Target, rng) Is Nothing Then Exit Sub
' Action if Condition(s) are met
Target.Offset(, 1) = Format(Date, "d mmm yyyy") & " " & Format(Time, "h:mm") & " Hrs"

End Sub

View 9 Replies View Related

Date/Time Stamp

Jan 12, 2007

I can't figure out how to get a date/time stamp to show when the spreadsheet was last updated.

View 9 Replies View Related

Time & Date Stamp

Oct 9, 2008

I found the code below in a previous tread, it works great, but i need some help altering it. I have it set-up when someone puts their initials in column B the time and date inputs in column S. But it also inputs if I hit delete or clear contents when I need to clear the form. Is there a way to make it input the time and date ONLY when letters are entered in column B?

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 Then
Application.EnableEvents = False
Target.Offset(0, 17).Value = Now

Application.EnableEvents = True
End If
End Sub

View 9 Replies View Related

Match Then Time Stamp

May 8, 2006

I have 2 barcode scanners on opposite ends of a conveyor. Barcode data from reader 1 inputs the data in Column A. Reader 2 will be inputting its data into J2. When J2 has data inputed, I would like to match that data to column A. On the row where the match is found, I would like to transfer a "Yes" to column H and a time/ date stamp in column I. Once this has occurred, clear the data from J2. I will have a minimum of 20 seconds between the scans on the second reader.

View 2 Replies View Related

Duplicating Time Stamp In Vba

Jan 21, 2007

The following code was supplied by Bill, but I want to do the same thing in B10:B164, where "x" is entered in B10 and the time stamp is entered in C10 & D10.
I tried copying the same script but had an Compile error message which said Ambiguous name detected: Worksheet_Change. The name of the sheet is Sheet 1 (Main)

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("M10:M164 ")) Is Nothing Then 'change your range on this line"
If Target.Value = "x" Then
Target.Offset(0, 1).Value = Now
Else
Target.Offset(0, 1).Value = ""
End If
End If
End Sub

View 5 Replies View Related

Unchanging Time Stamp

May 24, 2007

I have tried several macros and different code to accomplish the following:

1. scan a 3x9 barcode via hand-held scanner to populate a cell in column A, lets say A2.
2. the scanner does this and puts the number, say "330030" there (via the forms function)
3. in column B I would like it to say the date and time of the scan
4. the macros I have used will 'sometimes' populate the date / time but when I reopen the sheet, everything changes to 'NOW'. I would like the data to not change the date.

This is for a simple inventory spreadsheet that I am building to track movement of stock.

View 9 Replies View Related

Looking For A Command That Will Time Stamp A Cell?

Apr 18, 2014

I am looking for a command that will time stamp a cell with just the time, not the date. I've already looked at =Now(), but that, unfortunately, includes the date as well. I just need the 24hr value.

View 2 Replies View Related

Auto Date & Time Stamp

Feb 16, 2008

I am having a very difficult time making this work, if there is anyone who can assist me, I would greatly appreciate the assistance. You can see below what I am trying to do. The entries between the last cells H,3 & K,3 just contain data that is not affected by the rest of the sheet functions.

Cell one (A,3) has a drop down menu for vehicle status.
(B,3) vehicle number
(C,3) Drop down vehicle type.
(D,3) is for dept.
(E,3) Date/Time stamp auto generated from (A,3) entry. (Vehicle Status)
(F,3) is POC.
(G,3) Phone/email.
(H,3) Date & Time stamp out of shop. (This cell will recieve the date & Time Stamp from entry of work done in (K,3)

View 10 Replies View Related

Date & Time Stamp Purges

Sep 29, 2007

I am trying to automatically date/time stamp a row when I copy entries I purge from other worksheets.

View 3 Replies View Related

Update SQL Query Rather Than ADD

Mar 2, 2010

This is to run stored procedures (in the SQL Database), and pass variables. But...once the query is setup...all I really want to do is change the variable...and "fix" the sql query with the new variable value.

Is there a better way than: ....

View 9 Replies View Related

Update Time And Date When I Update Data Not When I Open A File

Sep 5, 2008

I have used the function = now() to have the most updated time but it updates a workbook when I open it in the first place. How I can avoid this?

View 9 Replies View Related

Time Stamp To Text - Not Using Cell Format?

Feb 26, 2014

I have a large number of cells with time stamps: 00:07:45 (hh:mm:ss)

What I would like to do is just show the mm - but NOT format the cell as [mm], just as a general / number '7'.......

View 3 Replies View Related

Insert Time Stamp On Double Click

Jun 12, 2014

I'm trying to have excel insert a timestamp on a specific range of cells. I have it currently working on one cell, but can for some reason am having trouble getting it to work on the entire range... Here is what I have currently...

PHP Code: 

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address = "$E$23" Then
Target.Value = Time
End If
End Sub 

I would like this to work for the range E23:E28 and F23:F28 I'm sure its something simple that I'm not doing...

View 3 Replies View Related

Count 80 From This Time Stamp Highlight The Remainder?

Feb 28, 2014

I have some 82,875 rows of data in column A is a string, in column B is a timestamp sorted in order.

I would like to run a macro that counts the first 80 of the same timestamp and highlights the remainder, doing this for every timestamp.

The timestamp is in the following format; Feb 16 15:33:02 +0000 2014

So for example you would take the first 80 with this timestamp and highlight the rest with that timestamp, and do the same for all other unique timestamps.

View 2 Replies View Related

Date Time Stamp For Specific Column?

Mar 19, 2014

Looking for code that auto updates today's date in column C, when cells in either column a or b of the same row are edited or changed. I have never used VBA before, just browsing forums for something that might work. I think I'm close with this one, but maybe the offset is wrong - it populates the date in column b when a change.

View 2 Replies View Related

Macro To Create Dynamic Time Stamp

Mar 6, 2009

I am have average excel knowledge with formulas and I am relatively new to the creation of Macros. I was told by my boss that he wants me to create a Macro that will palce a time stamp in the bottom left corner of the page (via the footer) that updates automatically every time a sheet is worked on. Please provide any help or assistance that can get me through this task.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved