thismonth

  1. A

    Vlookup in VBA errors

    I am trying to run a Vlookup inside a VBA. I am trying to run a dynamic Vlookup with two changing variables that will pull the needed data with the other workbooks closed. The two changing variables are Month and Year. If there is a better way to do this I am open to suggestions. I am new at...
  2. W

    Macro Error

    I have been running this Macro for a while and all was good until my computer was upgraded to windows 10. My excel is now Excel 365 2016. The debugger highlights the row I put in red. Any help with this would be great. Sub CopyData_Machine_Performance() Application.ScreenUpdating = False...
  3. W

    Why 1004 Run Time error at Red Text?

    Sub CopyData_Machine_Performance() Application.ScreenUpdating = False Dim lastRow As Long lastRow = Sheets("DATADump").Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row Dim ldateto As Long Dim ldatefrom As Long Dim ThisMonth As Long Dim ThisYear...
  4. A

    Copy from range

    HI!!! Sub getSum() Dim strDate As String Dim ws As Worksheet strDate = InputBox("Insert date in format mm/yyyy", "User date", Format(Now(), "mm/yyyy")) If IsDate(strDate) Then strDate = Format(CDate(strDate), "mm/yyyy") Else MsgBox "Wrong date format. Please try again." Exit Sub End If Dim...
  5. A

    Sum a range based on other range criteria for all sheets

    Hi!!!! Sub getSum() Dim strDate As String Dim ws As Worksheet strDate = InputBox("Insert date in format mm/yyyy", "User date", Format(Now(), "mm/yyyy")) If IsDate(strDate) Then strDate = Format(CDate(strDate), "mm/yyyy") Else MsgBox "Wrong date format. Please try again." Exit Sub End If Dim...
  6. A

    Sum the Total value of a certain range with date for whole workbook

    Hi!!!! My workbook contains more that 1000 sheets and increases daily. I need to get total value of column "I" (Range "I7:I") for all sheets based on month in column "F" (Range "F7:F"). mumps (Member in this forum) have given me this wonderful code mentioned below which is working fine. But...

Some videos you may like

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
  • CELL FORMAT - IF CONDITION
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top