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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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