seconds

  1. J

    VBA Excel / summing values by time window

    Hi, i am looking some advice to make a script in VBA. I need to get some values summed in time frames that range from 5 seconds to 60 seconds from cells that are updating all the time with 10 to 50 updates per second. Lets say that in 5 seconds I get the values 1 2 3 4 5 1 2 1 2 1 2. I would...
  2. J

    Run Macro for 2 minutes, stop, refresh queries for 10 seconds and then Loop back to Macro

    I have an Excel file with 3 tabs that are all pulling info through queries which rotate every 40 seconds. The VBA I have for it works great. After rotating through the tabs I need the queries to refresh via VBA. However, since a macro is being ran, the queries wont refresh until I manually stop...
  3. L

    Display seconds always "00"

    Hi, TEXT(A1,"hh:mm:ss##:##:00") is not working. How can I format the time as it will show seconds always "00"? I don't want to use any floor or round function because the problem I face is already because of precision overflow. So I want to take a shortcut with text formatting. Eg: 01:00:01 =>...
  4. E

    Detect if another program currently has access to application

    Hi all, Scenario: a vb.net Program is currently reading some informations from a workbook open in the Application. This may take some seconds. Is it now possible to detect in vba that this currently happens. Thanks Peter
  5. P

    Hiding one row taking 10 seconds

    I have a big Excel file over 20 Megabytes. I also have macros, formulas, activeX controls, shapes etc. in pretty well on all 15 worksheets. On one of my worksheets, If I want to hide only one row, it takes 10 to 15 seconds to hide and I can't figure out why. What could be the possible causes??
  6. M

    randomize cycle and time useform

    Hi, I've got the following code to randomize through userforms, however I would like it to loop through on a random time frame from 5 minutes to 15 minutes and show for 5 seconds then close. So just say I click the button to start the macro, it shows a random userform for 5 seconds then...
  7. U

    Advance VBA

    Hi, Thank you in advance for your support! I basically have 800 rows of data that has links to different websites. What I'm looking for is some VBA code that would allow me to either fetch a screenshot of each of the website or maybe open the website for 3 seconds in a browser window so that I...
  8. W

    Time function - Add seconds and milliseconds to a time in another cell

    I have a cell formatted as hh:mm:ss.000 In the next cell I want to use the TIME function to increase the cell by a set number of seconds and milliseconds. Example 00:00:01.288 in cell A1 Add 00:00:02.500 to the entry in cell A1 and display it in cell B1 I can only seem to get it work with...
  9. G

    Converting raw data to pivot table/chart doesn't detect seconds

    Hey! I'm in a bit of a pickle. So basically, I've got over 50,000 lines of columns that I have to convert to charts. And to test it out, I used a pivot table and chart. Everything works fine, but it doesn't detect seconds. So, what I did was: In raw data convert the text to columns as DATE...
  10. P

    Use separate calculation to get values based of reference cell on another excel

    I have sheet of times in time format, lets say in seconds, like following.. A1=100 seconds A2=200 seconds A3=300 seconds in B column, I have a divide calculation that converts seconds to wanted time format (ex.hours), =A1/3600, so values are B1=0,027.. B2=0,055.. etc. I also have total row...
  11. B

    Time Loop

    I would like a looped code that waits 2 seconds then refreshes the links e.g calculate then waits 2 seconds then refreshes - basically a loop
  12. C

    xlDialogSaveAs - End ALL code if "Cancel" is pressed

    Background: I have a Sub that uses the "Call" function to run multiple subs within one Sub (see Code #1 below). Option Explicit Sub MIUL_Run_All() Dim StartTime As Double Dim SecondsElapsed As String 'Remember time when macro starts StartTime = Timer Call OptimizeCode_Begin Call...
  13. M

    Excel Seconds Conversion, find min, max and average values

    Hello Everyone, I would appreciate if I can get some help. Please see the attached data sheet. From this sheet, all the data is in seconds and miliseconds. 1. Is there a way to find min, max average values for a given date? For example, for 08-22 find min,max and average transaction times...
  14. D

    Time Conversion Into Decimal Numbers w/Custom Format

    I have a column (D) where the user will be required to enter in minutes and seconds into cells (D5-D44). (I only want to work with minutes and seconds, no hours). All cells under this column are custom formatted to "00\:00", which auto-converts numbers typed in to minutes and seconds; For...
  15. J

    Is This AutoSave Macro Correct??

    I get errors cannot run or check security settings. Private Seconds As Integer Private Sub Workbook_Open() Seconds = 10 ' 5 minutes. Adjust as you wish ScheduleSaving End Sub Sub ScheduleSaving() Application.OnTime Now + Seconds / 24 / 3600, "ThisWorkbook.SaveMyWorkbook", Now...
  16. P

    Excel spreadsheet double saving

    I have a spreadsheet with numerous macros that seems to be doing two saves when I click to save the file to a shared drive .... G: drive at my workplace. On clicking to save to the shared drive (G: drive), I get the usual swirling hourglass for about 6 to 10 seconds ... this is what I have...
  17. jdsouza

    Speed of calculations Depends on ScrollRow

    Good day Will others be able to ratify this observation? I've been writing Excel based software for years and have ignored speed of computations (brushed it under the carpet) until recently when even the 2 or 3 seconds the algorithms took seemed too long. I've discovered that if I set the...
  18. I

    Time conversion

    I need a formula to convert hours minutes & seconds into total minutes. h m s total minutes Example: 3:04:27 would display 184.27
  19. MrKowz

    Forum Loading Speed

    Is anyone else experiencing dramatically slower loading speeds on the forums since the update yesterday? It is taking a significantly longer time (upwards of 20-30 seconds) for any page to refresh or for a reply to post.
  20. A

    Calculating Average Server Times

    Hey Everyone, I need to show a chart that displays between 0 & 120 Seconds (including milliseconds) for Server Loading times tested daily and, then average out the worst servers based upon the daily values entered. In example; 06/15/2017 - 4.02 Seconds 06/16/2017 - 22.92 Seconds 06/17/2017...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top