Row Formatting

  • Thread starter Thread starter Aaron Murray
  • Start date Start date
A

Aaron Murray

If a cell in column IV(last column) contains a value and I
insert new columns the value in IV predictably disappears.
If a formatted row is extended to column IV and I then try
to insert columns nothing happens or, when a value exists
somewhere in column IV and I'm running a macro that
inserts columns, an error message appears.
Is there a setting that allows excel to insert the columns
even if it means trashing values or formatting in last
column?
Aaron Murray
 
I think your first statement is incorrect. Excel won't let you insert a new
column and have column IV just disappear (with something in IV).

You could always wipe out column IV whenever you want (scary, but you can do
it).

with worksheets("sheet1")
.range("IV1").entirecolumn.delete
'do your insert column
end with
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top