Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Proper procedures to delete multiple columns with 47,000 rows of data

2007.

This is more involved than initial thoughts would indicate.

I wish to delete 4 columns in a massive w/s

Whether via VBA:

Wks.Range("U:U,V:V,W:W,X:X,Y:Y").EntireColumn.Dele te

-or-

XL SelectColumn (Del)

Excel starts the processor screaming at 98% utilization for 16 minutes.

The code around the delete is:

Application.DisplayAlerts = False
Sheets("Temp").Delete
If ActiveSheet.AutoFilterMode Then
Wks.UsedRange.AutoFilter
End If
Application.Calculation = xlCalculationManual
Wks.Range("U:U,V:V,W:W,X:X,Y:Y").EntireColumn.Dele te
Application.Calculation = xlCalculationAutomatic

Whether I stop calculation and/or reset UsedRange to actual cells containing information (vs
formated cells) I run into this problem.

Any help or thoughts appreciated!! What am I missing that is obvious?

TIA EagleOne
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert data from multiple columns/rows into one column - help! Jason[_11_] Excel Worksheet Functions 3 March 19th 08 07:50 PM
VBA Delete row based on multiple columns of data jlclyde Excel Discussion (Misc queries) 3 November 26th 07 07:46 PM
Pulling data from multiple rows and columns Mark C Excel Worksheet Functions 3 February 25th 07 08:33 AM
Sort multiple rows by data in certain columns lbabli Excel Discussion (Misc queries) 1 October 28th 05 10:48 PM
Using PROPER for Columns, rows or ENTIRE spreadsheet Tom Excel Worksheet Functions 3 February 4th 05 03:43 PM


All times are GMT +1. The time now is 03:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"