resizing CurrentRegion to add 1 more column with the same formatting

billyheanue

Board Regular
Joined
Jul 13, 2015
Messages
109
Hi All,

I have a table that needs to expand to another column, and I know that cell "b3" is a part of that table.

I know that:

Code:
Range("B3").CurrentRegion.Select

will select the entire table, but how should I go about expanding it one more column?

Thanks a ton,
Bill
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Try Range("B3").CurrentRegion.resize(,1).select


Tim

I just tried adding this line, and it doesn't work - what I am looking for is something that will add a column to the edge of the table, regardless of whether or not "B3" is a cell in the last column or not. I thought since it is a cell within the table, the code would know to add a column at the *END* of the table, not to the column of cells ("C:C") that are already inside it.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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