Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Clear selection in CSV-file

I need to save a sheet in csv-format. If I clear a range before saving, this
range appear in the csv-file as lines with comma separation. If I delete the
range, it does not appear in the csv-file at all. I want this, but I can not
use the delete method - how can it be done with a clear method ? can anybody
help or explain ?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 257
Default Clear selection in CSV-file

I'm confused, so I'm going to be obnoxiously literal in order to get to the
bottom of the misunderstanding, like this: "Apparently you CAN use the
delete method, for you just told us that it does what you want. Did you mean
you MUST not use the delete method?".

And to add to that, I don't really understand what the difference is between
..Delete and .Clear. Is it just the warning message that's displayed to the
user with .Delete? Why exactly do you prefer the one to the other?

--- "kemp" wrote:
I need to save a sheet in csv-format. If I clear a range before saving, this
range appear in the csv-file as lines with comma separation. If I delete the
range, it does not appear in the csv-file at all. I want this, but I can not
use the delete method - how can it be done with a clear method ? can anybody
help or explain ?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Clear selection in CSV-file

Hi Bob,
Thanks for answer.
Let me explain:
If I clear range (eg 3 rows, 3 coloums) it appear like this with 3 lines in
the csv-file:
,,,
,,,
,,,

If I delete range (eg 3 rows, 3 coloums) it appear without the commas, like
the 3 line not existing.

I want it to appear like the delete method, but I want to use the clear
method, beacause the delete method will broke som references within the Excel
workbook between some sheets.

Regards
Kent







"Bob Bridges" skrev:

I'm confused, so I'm going to be obnoxiously literal in order to get to the
bottom of the misunderstanding, like this: "Apparently you CAN use the
delete method, for you just told us that it does what you want. Did you mean
you MUST not use the delete method?".

And to add to that, I don't really understand what the difference is between
.Delete and .Clear. Is it just the warning message that's displayed to the
user with .Delete? Why exactly do you prefer the one to the other?

--- "kemp" wrote:
I need to save a sheet in csv-format. If I clear a range before saving, this
range appear in the csv-file as lines with comma separation. If I delete the
range, it does not appear in the csv-file at all. I want this, but I can not
use the delete method - how can it be done with a clear method ? can anybody
help or explain ?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 257
Default Clear selection in CSV-file

I see I forgot to reply to this; I apologize for that, if it's not too late
already. Ok, I guess I see what the difference is between .Delete and
..Clear, but it seems to me that if .Delete breaks your workbook -- if there
are cells elsewhere that refer to these cells -- then you're just trying to
have it both ways, as though these cells both exist (in your worksheet) and
do not exist (in the printout). I'm all for having things both ways, if
possible, but in this case, how...?

Well, can you have those other cells point to a different range than the
thing you want to delete?

--- "kemp" wrote:
If I clear range (eg 3 rows, 3 coloums) it appear like this with 3 lines in
the csv-file:
,,,
,,,
,,,

If I delete range (eg 3 rows, 3 coloums) it appear without the commas, like
the 3 line not existing.

I want it to appear like the delete method, but I want to use the clear
method, beacause the delete method will broke som references within the
Excel workbook between some sheets.

--- "Bob Bridges" skrev:
I'm confused, so I'm going to be obnoxiously literal in order to get to the
bottom of the misunderstanding, like this: "Apparently you CAN use the
delete method, for you just told us that it does what you want. Did you mean
you MUST not use the delete method?".

And to add to that, I don't really understand what the difference is between
.Delete and .Clear. Is it just the warning message that's displayed to the
user with .Delete? Why exactly do you prefer the one to the other?

--- "kemp" wrote:
I need to save a sheet in csv-format. If I clear a range before saving, this
range appear in the csv-file as lines with comma separation. If I delete the
range, it does not appear in the csv-file at all. I want this, but I can not
use the delete method - how can it be done with a clear method ?

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
How To Clear Previous Selection From a Drop Down The Griffster Excel Discussion (Misc queries) 3 September 22nd 10 09:36 PM
How do I clear a print area when the selection is grayed out? Ron Excel Discussion (Misc queries) 0 July 24th 07 11:28 PM
Clear selection? StargateFanFromWork[_3_] Excel Programming 1 January 10th 06 08:40 PM
Fast way to clear Listbox selection [email protected] Excel Programming 4 August 26th 05 10:09 PM
How to clear a selection Nathan Gutman Excel Programming 4 February 26th 04 03:12 PM


All times are GMT +1. The time now is 07:30 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"