unknown range

  1. M

    Unknown Range Code Assistance

    Hello! :) For whatever reason I am having difficulty wrapping my head around how to write code to encompass a dynamic range. I've done some online searches but those codes never seemed to work. A piece of code I am working on now came from Record Macro, but I need the Auto Fill to encompass B2...
  2. A

    Use VBA to Create Table with Unkown Range

    I would like to create a table with an unknown range. I currently have the following. Sub Button2_Click() Dim r As Range Set r = Worksheets("Sheet2").Range("A1").CurrentRegion Worksheets("Sheet2").ListObjects.Add(xlSrcRange, Range("A1:B4"), xlYes).Name = "MyTable" End Sub An...

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