lastrow and range

  1. U

    VBA Last Row Question

    Hi! I have some logic which will copy and paste into a range using last row. that works fine: lastrow = ActiveSheet.Range("AY7:BB" & Rows.Count).Find("").Row - 1 Set CopyRng = Range("AY7:BB" & lastrow) CopyRng.Copy Range("AQ7:AT" & lastrow).PasteSpecial xlPasteValues I then want to re-copy...
  2. J

    Copy data from lastrow to first empty row on new sheet created

    Good morning all! I've been trying to used multiple posts for reference, but i'm stuck on the last piece of code to make this sheet work. When i create a new sheet, based on the submission of data through a userform, it should also copy the data to the new sheet created (to automatically start...
  3. P

    Excel VBA to Outlook Select Range lastRow

    Hey guys, I need for the code to stop copying at the lat line with data, but cant figure out how to code it. Pretty sure i need to use lastRow, but Im not sure how to replace the range. Sub Main() 'For Tips see: http://www.rondebruin.nl/win/winmail/Outlook/tips.htm 'Don't forget to copy the...
  4. F

    Moving rows upwards ... one at a time

    Hi, I currently have some code that looks at data in row 2 of a worksheet. After pressing a button, the VBA pulls the information from the cells in that particular row, through to other cells in the workbook, it then automatically saves this info as a new document and then returns to the first...
  5. D

    VBA alternative to copy paste syntax that doiesnt use paste .... clipboard popup

    Hi, if i use the current syntax with this macro i get an annoying "clipboard has a lot of info on it" popup. To avoid it i would like to use the non paste method, but i cant figure out the appropriate syntax for the situation. Thanks for any help. This is the code section in question...
  6. O

    Range Method to Set Cell Formulas with LastRow

    Thanks in advance for anyone who is assisting. I will test any recommendations and will let you know the outcome. Item: I've found the last row in my data ("LastRow"), and now I'm trying to set a formula in cells A5 to "LastRow" to a formula, but I'm getting errors. The First issue seems to...

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