LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Can't delete columns in Excel VBA

I am automating Excel from a VB application.

I attempted to insert a column way down in my code (after populating the
sheet with many columns from data from many files (maybe 32, maybe 48, or 64
columns of ASCII Data).

My code bombed when I attempted the insert of a new column saying it can't
shift cells off the edge of the worksheet. After I failed at that: I
attempted to delete all empty columns to the right of my used area, and my
code also bombs, don't remember that error message right now.

can someone tell me what I need to do in order to either insert new columns,
so that any data will shift off the edge of the sheet, or how I can get my
empty columns deleted. ( I don't need code to find last used column, I
already have that)

Thanks BillReese


 
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
How do I delete extraneous EXCEL columns? Robert Judge Excel Discussion (Misc queries) 4 February 13th 09 03:37 PM
How do I delete extraneous EXCEL columns? Robert Judge Excel Discussion (Misc queries) 2 February 12th 09 04:07 PM
Excel 2007 - Can't delete rows or columns kschuster Excel Discussion (Misc queries) 0 January 18th 08 04:33 AM
Excel crashes when I try to Delete Columns lancekel Excel Discussion (Misc queries) 1 June 5th 06 06:45 PM
I cannot delete rows or columns in Excel 2002. How do I fix this? tgs77m Setting up and Configuration of Excel 3 July 12th 05 08:04 PM


All times are GMT +1. The time now is 04:18 PM.

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

About Us

"It's about Microsoft Excel"