Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding Columns in Excel Sheet
I wish to add 4 columns in an Excel Sheet on the click of a button. Can
anyone suggest or help me in doing the same ? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding Columns in Excel Sheet
An Excel sheet has 256 columns; no more and no less. You can't add 4
columns. -- Vasant "Dhiraj" wrote in message ... I wish to add 4 columns in an Excel Sheet on the click of a button. Can anyone suggest or help me in doing the same ? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding Columns in Excel Sheet
Vasant is right: you can't "Add" collumns. But if you mean "Insert"
collumns, you can do some this like this: Sub InsCol() Columns("E:H").Insert Shift:=xlToRight End Sub This will insert 4 collumns before collumn E. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel adding up columns | New Users to Excel | |||
adding new columns sheet with external data | New Users to Excel | |||
Adding new columns from one sheet to another | Excel Programming | |||
Adding Columns in Excel | Excel Discussion (Misc queries) | |||
Adding Columns in Excel | Excel Discussion (Misc queries) |