ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to insert a column (https://www.excelbanter.com/excel-programming/279465-how-insert-column.html)

Jim Coyne

How to insert a column
 
Is it possible to insert an entire column between columns A and B?

I've been searching the Microsoft documentation but have not found anything
yet.

thanks

Jim



Nigel[_4_]

How to insert a column
 
Jim,

Try this

Columns("B:B").Select
Selection.Insert Shift:=xlToRight

Nigel


"Jim Coyne" wrote in message
...
Is it possible to insert an entire column between columns A and B?

I've been searching the Microsoft documentation but have not found

anything
yet.

thanks

Jim






----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---

Jim Coyne

How to insert a column
 
Yes, that worked. It's taking some time getting use to Excel VBA even with
years of VB experience.

Thanks

Jim

"Nigel" wrote in message
...
Jim,

Try this

Columns("B:B").Select
Selection.Insert Shift:=xlToRight

Nigel


"Jim Coyne" wrote in message
...
Is it possible to insert an entire column between columns A and B?

I've been searching the Microsoft documentation but have not found

anything
yet.

thanks

Jim






----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000

Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---




All times are GMT +1. The time now is 02:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com