Working with multiple columns

R

RSteph

What is the most efficient way to select a group of columns for the purposes
of Deleting unwanted columns, or for editing/formatting a group of columns
all at once?

I'm creating a macro so that I can dump some raw data into a spreadsheet,
then run the macro and it will format everything for me. I want to remove a
block of unneeded columns from the data though (i.e. columns B-F). Then I
want to do some general formatting of columns (i.e. removing borders,
backgound colors, re-sizing, etc.)

I'm sure this is pretty easy, it's just been a while since I've done much
with Excel and Macros, and I'm drawing a mental blank. Any help would be
greatly appreciated.

Thank you.
 
J

JLGWhiz

For removing borders in a range of cells.

Sub dk()
Sheets(1).Range("D4:I10").Borders.LineStyle = xlNone
End Sub
 

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

Top