runtime 1004

  1. M

    Run-Time Error when Trying to Populate Cells

    Hello All, I am trying to populate cells with a date that is located next to a cell with the word "Visit." This is my code: lRow = Cells(Rows.Count, "A").End(xlUp).Row Do While True If Cells(lRow, 6) = "Visit" Then sLastValue = Cells(lRow, 5) Else Cells(lRow, 5) = sLastValue End If...
  2. H

    Use VBA to change Pivot Table Filter

    Hey, I have a Pivot table called "PivotTable1" in Excel and would like to change the filter on it using VBA. The field I would like to change is a date field called "LEASE SIGNED BY LANDLORD". I would like to select all of the dates and leave out the blanks (doing this manually requires checking...
  3. Ilix

    Method 'Range' of object '_Global' failed error

    Hey everyone! I'm currently working on a project where I need to create 5 tables (one for each business day) and populate them with data from another page in the same worksheet. Right now I'm doing this by simply adding rows to the tables that already exist and already have VLookups set up the...
  4. M

    Problem

    I have a Macro Where i am trying to Have the Data In Sheet1 and Sheet2 into sheet3 This is my Macro. Sub moveitems() ' ' moveitems Macro ' This is To Put the Items in Sheet1 and sheet2 Into Sheet3 With Data. ' ' Range("B1,C1,D1,E1").Select Range("Table1[[#Headers],[18th]]").Activate...
  5. J

    Runtime error 1004 when copying pivot

    Hi, Wondering if someone could help. I keep getting a runtime 1004 error when I run the following code, even though it has been ok up until now. Last time, I thought it maybe that the file was too big, so reduced the size of the file, but this time it doesnt seem to be working. Can anyone...
  6. F

    Run-Time 1004: Copy method of range class failed

    Hello All! Let me start by thanking everyone that posts here. I'm a VBA beginner and I've been able to learn so much by writing my code then making it work by looking through this forum. Thanks! Thank being said I've run into an issue that I haven't been able to find a resolution to so I...

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