colno

  1. A

    Strange one this

    I have a userform (TagForm) with a listbox that has the Rowsource controlled by the code below basically the code finds the range for the Rowsource, by first finding the Column (Colon) then the Last Row (Lastr) of data in that column, the top row of the Range is always 5, then the range.name...
  2. E

    Run time 1004 Error - Defining last column in cell to copy range

    Hi everyone, I'm trying to use a count formula on my worksheet to tell VBA the range of columns I want to copy. This will change between different data sets. I've got the last column number on my "Home" sheet and the range to copy is on the "Calculation" sheet. I'm not sure why the below isn't...
  3. T

    Find last row of a closed workbook

    This code Sub Test() ' file name, sheet name and column number - change to suit Const FName As String = "P:\TEMP\MrExcel\FileLinks\[MyFile.xls]" Const ShName As String = "Sheet1" Const ColNo As Integer = 1 Dim ShNew As Worksheet Dim LastRow As Long...

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