What does this mean?: Columns(“B:IV”).Delete Shift:=xlToLeft

I hope you will help me to learn the meaning of this line:

Columns("B:IV").Delete Shift:=xlToLeft


Simply put, columns B,C,D,E,F,.....,Z,AA,AB,AC,.....,IS,IT,IU,IV all of those will be deleted and they will be replaced with empty columns pulled from the left side of the sheet, meaning that if you have some data on column A that column will not be affected.

Columns("B:IV").Delete deletes the columns. The shift to the left part shifts the remaining columns to the left. That code is not necessary since the shift to the left is the default.

Need Your Help

Documenting javascript in Netbeans for autocompletion/code completion/intellisense

javascript netbeans autocomplete intellisense

I am using Netbeans 6.9 and 7-Beta on Windows 7. According to Netbeans javascript documentation it should be possible to add documentation to my project and get autocompletion on my classes and

JasperReports with iReport: setNoDataMessage not working

java jasper-reports ireport

I have a report that contains a pie chart within it. I would want the chart to be shown no matter if the query returns results or nothing at all. Typically you just need to do the plot.setNoDataMes...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.