lresult

  1. A

    Time Elapsed Between Two Dates

    I have this formula for which I am using to determine how much time has elapsed between two dates. dresult = Now - lresult Now = 2019-04-14 7:45:10 PM lresult = 2019-04-13 7:34:26 PM dresult = 1.00744212963036 How must I manipulate dresultto get the number of hours elapsed?
  2. J

    Why does this worksheet event - Error: Type Mismatch ?

    Private Sub Worksheet_Change(ByVal Target As Range) Dim Item As String Dim NItem As String Dim rFound As Range Lresult = Len(Target) 'Avoid the endless loop: Application.EnableEvents = False Item = Target.Value If Lresult = 10 Then With Sheets("Sheet2") Set rFound =...
  3. M

    macro code to remove an element form an array and accept an element from an array

    hi i have made a macro code to accept an array from an excel cell. but right now i am not able to accept a value. for ex "Series 1, Episode 4 Including the 1980s story of a campaign for a hospice to be built in the Highlands." from the above example i need to accept series 1 in an array. and...
  4. NessPJ

    If Cell value is <> 4 then delete Entire Row

    Hi all, I am having trouble getting the following cleanup code to work: Dim i As Integer For i = 2 To Range("A" & "65536").End(xlUp).Row Step 1 LResult = Len(Range("B" & i).Value) If LResult < 4 Or LResult > 4 Then Range("B" & i).EntireRow.Delete...
  5. T

    HELP!!! I can't set formula to cell

    hi i'm trying to programmatically pull a formula then add a new user to that formula and then set the cell with the new formula here's what i got Dim SATURDAY_DEPART_TIME_INITAL As String SATURDAY_DEPART_TIME_INITAL = ActiveWorkbook.Sheets("SAT").Range("H8").Formula If InStr(1...
  6. M

    dir function to crawl folders and list files

    I have code to list the content of one directory's files but need to list the files in multiple directories that are listed in row one of my spreadsheet (ex: m1, m2, m3) where m1, m2, m3 are folders. I cannot get the dir function to use a variable in my loop to pull the text of m1, m2, m3 in...

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