last row

  1. M

    Copy Specific Cells from one sheet to the bottom of another .

    Hi all, I am very new in working with VBA, so please have patience with me. I am working at a project which I need to copy specific cells from one sheet (the master sheet) into another sheet (upload sheet). The cells I need to copy from the "master sheet" need to be copied to the "upload...
  2. J

    Last Row not working in vlookup

    I'm using a common "Last Row" formula in a VBA macro and it is not working in a "Vlookup" formula even though it works in a "Range Formula". The lastrow formula is: Dim LstRw As Long LstRw = Range("A:CB").Find(What:="*", SearchOrder:=xlRows, SearchDirection:=xlPrevious...
  3. H

    Userform - Filling down info on rows

    Hello, Could anyone please help me with my code? I don't know what I'm doing wrong, it works perfectly on one file (Remision), but for some reason it won't work on the other one (CI Fill). It is a simple userform that helps creating some documents. I attach them for your reference. What the...
  4. L

    vba code for copy last cell in column A to the range from cell below in column A to the last row in column B

    Hi Guys I can't figure out how to get this code right: Basically I want a code to identify last row in column A, copy that cell to from the cell below to the cell in last row in the data sheet. So with the simple example: I want to copy 2/8/2015 to the two empty cell below, which has the same...
  5. J

    Copy formulas to last row

    I have a large spreadsheet in which I have used a macro to write different formulas from I2-R2. The formulas work fine as they are. However, I have to manually select the cells and drag them to the last row to complete my data calculations. The quantity of rows will change daily with...
  6. D

    Finding the last row to sort data

    I have the code below which was working fine Application.ScreenUpdating = False Range("A12:BD30").Select Range("BD30").Activate ActiveWorkbook.Worksheets("Employer Database").Sort.SortFields.Clear ActiveWorkbook.Worksheets("Employer Database").Sort.SortFields.Add Key:=Range _...
  7. J

    Place Data in last row

    Hi I know this code is going to be quite simple but everyhtign i have tried just doesnt work. I need the data to be added to the end of a sheet not in the A1 as it always does and overwrites previous data. The code filters the data on "Input" sheet and adds to it to the sheet name given...
  8. A

    Cant get last Row value into word from Range

    This is workgin great and getting the info from g4 and pasting into word bookmark but Set wdRng = wdDoc.Bookmarks("ClientName").Range wdRng.Text = Range("G4").Value What I want to do is get the last row in G so that as new data is saved I can paste it into word. But all my attempts seem to...
  9. A

    Help with Repeating until Last Row

    Hi, I'm new to VBA and I'm having trouble trying to write a looping macro. This is what I'm trying to repeat: ActiveCell.Offset(1, 0).Range("A1:B1").Select Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove ActiveCell.Offset(-1, 0).Range("A1:C1").Select...
  10. H

    Select varying row to copy to another sheet

    I need a macro to copy data from one sheet to another. In sheet 2 i need to copy data from the same row in a range between columns C to H. The row will change to be the bottom row with data in it.(can a formula be in the cell and it not be recognised by this if it is blank? or am I asking too...
  11. T

    Macro Compatable with Sharepoint

    Our company recently moved most of our files onto SharePoint in an effort to backup our files. A byproduct of this is some of the macros in place no longer work. In particular, I have one that copies and pastes a row of information (from lets call it the CM form) onto the next available row...
  12. E

    Finding Last Row in Column

    Hello, I'm new to VBA and I'm having a little difficulty with a loop that is running to the end of worksheet instead of stopping at the last row in the column. The second row of the code here seems to be the culprit. Any help is appreciated. Thanks. Sub LTM() FinalRow = Cells(Rows.Count...
  13. R

    VBA - drag down formulas to today's date

    Hi there - I am fairly new to VBA, having mainly recorded macros (and tinkered with them a little) in the past. I am now trying to drag formulas in the final row of a worksheet (columns A:R) from the final date in the worksheet to today's date (dates in the A column). However, when I try this...
  14. M

    VBA help - Fill down with changing start and end cells

    Any help is much appreciated, I am learning VBA on the go and cannot seem to work through this issue. Thanks! Example Below: Column A Column B Portfolio 1: AAPL DIS YHOO Portfolio 2: AAPL FORMULA (=A7&" US Equity") FB TWTR XOM Portfolio 3: COP KO WMT I am...
  15. M

    Find last row in range and start next field below

    Dear Ex(cel)perts, I have a rather complex question. To begin with: I have built a model where by typing in an identifier code, different rows of data are returned (used index match here). There are three categories of data that usually have different lenghts of rows. At the moment I have...
  16. M

    Autofill Type Mismatch Error

    Hi all, This is my first post, so please let me know if you need more info! I'm using Excel 2010 and I wrote the code below to autofill a range that feeds a chart on the worksheet "Dashboard." Essentially, the user selects criteria on the Dashboard and clicks the "Submit" button, which causes...
  17. S

    Formula for Linked Worksheet Last Row

    Hi! I am trying to find the last row of worksheet "A", return the value, then in Worksheet "B", reference Worksheet "A" Column J - last row. It gives me an error for the formula. I don't know if I am close to the solution, or way off. Here is my code: <code> Dim LastRow As Long...
  18. B

    [Help] Copying data from one sheet to the last row of another

    Hello, I've been searching everywhere (particularly on these forums and Microsoft's help site), and I haven't found a solution that has completely worked yet. I'm experienced in Excel but still a little new to VBA. What I'm trying to do is copy only the cells that have integers in them from...
  19. A

    Problems with formatting last row with data from column A to S

    Hey guys, I hope you can help me since I cannot seem to find the piece of code necessary to perform the following action. Have tried multiple last-row codes but nothing worked. I use Excel 2007 with Windows XP I have a set of data ranging from column A to S. The amount of collumns varies...
  20. H

    Find and Delete Rows with Empty Cells in Column A (VBA)

    Hello all,I'm trying to write a VBA code that will allow me to reference column A, then find the all cells that have no data inputted. After this I want to delete said row(s). The issue that I am running into is because the data that I am using has been copied from another sheet referred to as...

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