lastcell

  1. I

    How to select range from ActiveCell to cell 1058476 in the same column.

    Hello, I am trying by VBA code to sekect a range from the active cell to the very last cell in the same column (on row 1048576) regardless if it is empty or not. I have tried the code below without sucess. Range(ActiveCell, ActiveColumn & 1048576).Select Greatful for any suggestion. Ingemar
  2. R

    VBA to sheets

    I'm using the following code but get a runtime 424 error. Also, I would like to the sheet name in c17 to last cell Private Sub CommandButton1_Click() lastcell = ThisWorkbook.Worksheets("Master").Cells(Rows.Count, 1).End(xlUp).Row For i = 17 To lastcell With YhisWorkbook newname =...
  3. J

    vba code to correct

    Dear sir, I have a vba code that is working nice but problem is that while importing data, font size, conditional formatting etc.....is also importing along with............so please I want value to be imported to the next worksheet.............and for your king refference.........i am sending...
  4. T

    Correct Code to Move Information Around

    Please be patient with me as part of this code is gibberish, but meant to illustrate what I'm trying to do: First code finds last row: Sub FindLastRow() Dim LastRow As Long LastRow = Sheet1.Range("C2").End(xlDown).Row MsgBox Prompt:="Last Row is" & LastRow End Sub Second code copies a cell...
  5. T

    Trying to Copy a Cell from New Row and Paste in New Location on another Worksheet

    I have 3 functions that I use to detect when a new row is added on a Sheet5, go to Sheet1 and add a copy of a predefined range to the last row on sheet1. My problem is I then want to have a particular cell on that new row from Sheet5 to be copied to a particular cell the newly pasted Sheet1...
  6. D

    VBA Help with Range

    Hi I am trying to figure out how to delete rows after data, but I need to change it so "B" is a Variable like the code I am using. Can someone help with this please. My Code Rng.Resize(Cells(Rows.Count, Rng.Column).End(xlUp).row) What I need is to incorporate my code into the one below Dim...
  7. A

    Macro runs in 2013 but not 2016

    Hi all, First off, I'm not a programmer, I just Mr Magoo my way through this stuff, copying and modifying stuff I find online. I hate to be the guy that signs up just to ask a question but after a day of searching and messing around, I'm still lost. So, thanks in advance!! I have a macro...
  8. D

    Macro to Resize table with dynamic last row - not working - HELP!!

    Hi folks, This is probably very easy and amateurish, but, I am looking for a way to resize a table with a dynamic last row. When I record a macro of a resize with a set range I get: Sub resizetable222() ActiveSheet.ListObjects("Table5").Resize Range("$A$5:$I$94") Range("I94").Select...

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