VB EXCEL INSERTING COLUMNS
Columns("M:M").Select
Selection.Insert Shift:=xlToRight This inserts like 5 columns, why is that? Worked fine a few times in a long macro, but now not so much. Help! I have searhced and searched. |
VB EXCEL INSERTING COLUMNS
Try manually selection column M and see if there are any merged cells that
are selected. "moosedog2000" wrote: Columns("M:M").Select Selection.Insert Shift:=xlToRight This inserts like 5 columns, why is that? Worked fine a few times in a long macro, but now not so much. Help! I have searhced and searched. |
VB EXCEL INSERTING COLUMNS
thank you, you are correct, I open another worksheet to do my vlookup and
there are in fact merged cells there, good call. "Barb Reinhardt" wrote: Try manually selection column M and see if there are any merged cells that are selected. "moosedog2000" wrote: Columns("M:M").Select Selection.Insert Shift:=xlToRight This inserts like 5 columns, why is that? Worked fine a few times in a long macro, but now not so much. Help! I have searhced and searched. |
All times are GMT +1. The time now is 12:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com