#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default csv & " (re-post)

Still having trouble with this. Links refered to in replies from the
original post were not available, and I can't seem to reply to continue the
original posting.

I have text which includes " <inch marks. When I saveas csv, and open with
notepad there are additional " added to the text. If I re-op in excell I do
not see the additional ". For instance, a cell with < 6" shows in csv
opened with notepad as < "6""" . same csv re-opened in excel still shows
original format < 6" .

Any way to NOT get additional quotes to show when opening in Notepad?



--
Posted via a free Usenet account from http://www.teranews.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default csv & " (re-post)

The site is back up now.

Mike Kiekover wrote:

Still having trouble with this. Links refered to in replies from the
original post were not available, and I can't seem to reply to continue the
original posting.

I have text which includes " <inch marks. When I saveas csv, and open with
notepad there are additional " added to the text. If I re-op in excell I do
not see the additional ". For instance, a cell with < 6" shows in csv
opened with notepad as < "6""" . same csv re-opened in excel still shows
original format < 6" .

Any way to NOT get additional quotes to show when opening in Notepad?

--
Posted via a free Usenet account from http://www.teranews.com


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default csv & " (re-post)

that is soooo cool - the "Text files with no modification" macro work great.
One little quirk - It doesn't like the cells in the first column to be
blank. I got rid of the blank column and it did exactly what I needed. With
the blank column it only exported the first row.

Mike


"Dave Peterson" wrote in message
...
The site is back up now.

Mike Kiekover wrote:

Still having trouble with this. Links refered to in replies from the
original post were not available, and I can't seem to reply to continue
the
original posting.

I have text which includes " <inch marks. When I saveas csv, and open
with
notepad there are additional " added to the text. If I re-op in excell I
do
not see the additional ". For instance, a cell with < 6" shows in csv
opened with notepad as < "6""" . same csv re-opened in excel still shows
original format < 6" .

Any way to NOT get additional quotes to show when opening in Notepad?

--
Posted via a free Usenet account from http://www.teranews.com


--

Dave Peterson




--
Posted via a free Usenet account from http://www.teranews.com

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default csv & " (re-post)

This line in JE's code:

For Each myRecord In Range("A1:A" & _
Range("A" & Rows.Count).End(xlUp).Row)

is using column A to determine how many rows should be exported.

Can you pick out a different column that always has data in it?

If you can, you could modify that line of code:

For Each myRecord In Range("A1:A" & _
Range("X" & Rows.Count).End(xlUp).Row)

I used column X to find that last used row.



Mike Kiekover wrote:

that is soooo cool - the "Text files with no modification" macro work great.
One little quirk - It doesn't like the cells in the first column to be
blank. I got rid of the blank column and it did exactly what I needed. With
the blank column it only exported the first row.

Mike

"Dave Peterson" wrote in message
...
The site is back up now.

Mike Kiekover wrote:

Still having trouble with this. Links refered to in replies from the
original post were not available, and I can't seem to reply to continue
the
original posting.

I have text which includes " <inch marks. When I saveas csv, and open
with
notepad there are additional " added to the text. If I re-op in excell I
do
not see the additional ". For instance, a cell with < 6" shows in csv
opened with notepad as < "6""" . same csv re-opened in excel still shows
original format < 6" .

Any way to NOT get additional quotes to show when opening in Notepad?

--
Posted via a free Usenet account from http://www.teranews.com


--

Dave Peterson


--
Posted via a free Usenet account from http://www.teranews.com


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default csv & " (re-post)

Thanks for the info Dave - that could be useful if we want to limit the data
we export. Otherwise there isn't a reason we will not have data in all cells


"Dave Peterson" wrote in message
...
This line in JE's code:

For Each myRecord In Range("A1:A" & _
Range("A" & Rows.Count).End(xlUp).Row)

is using column A to determine how many rows should be exported.

Can you pick out a different column that always has data in it?

If you can, you could modify that line of code:

For Each myRecord In Range("A1:A" & _
Range("X" & Rows.Count).End(xlUp).Row)

I used column X to find that last used row.



Mike Kiekover wrote:

that is soooo cool - the "Text files with no modification" macro work
great.
One little quirk - It doesn't like the cells in the first column to be
blank. I got rid of the blank column and it did exactly what I needed.
With
the blank column it only exported the first row.

Mike

"Dave Peterson" wrote in message
...
The site is back up now.

Mike Kiekover wrote:

Still having trouble with this. Links refered to in replies from the
original post were not available, and I can't seem to reply to
continue
the
original posting.

I have text which includes " <inch marks. When I saveas csv, and open
with
notepad there are additional " added to the text. If I re-op in excell
I
do
not see the additional ". For instance, a cell with < 6" shows in
csv
opened with notepad as < "6""" . same csv re-opened in excel still
shows
original format < 6" .

Any way to NOT get additional quotes to show when opening in Notepad?

--
Posted via a free Usenet account from http://www.teranews.com

--

Dave Peterson


--
Posted via a free Usenet account from http://www.teranews.com


--

Dave Peterson




--
Posted via a free Usenet account from http://www.teranews.com



  #6   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default csv & " (re-post)

Quotes in csv files are very troublesome. I would go to the original text
and replace them with in. so 6" would be 6 in.

"Mike Kiekover" wrote:

Still having trouble with this. Links refered to in replies from the
original post were not available, and I can't seem to reply to continue the
original posting.

I have text which includes " <inch marks. When I saveas csv, and open with
notepad there are additional " added to the text. If I re-op in excell I do
not see the additional ". For instance, a cell with < 6" shows in csv
opened with notepad as < "6""" . same csv re-opened in excel still shows
original format < 6" .

Any way to NOT get additional quotes to show when opening in Notepad?



--
Posted via a free Usenet account from http://www.teranews.com


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
"Disk is Full" add-on question to "Can't reset last cell" post tod [email protected] Excel Discussion (Misc queries) 0 January 22nd 07 02:32 AM
"John Cleese" please re-post Dave O Excel Discussion (Misc queries) 4 January 12th 07 11:30 PM
Related to "Counting cells..." (post below) jimbob Excel Discussion (Misc queries) 1 July 4th 06 08:23 PM
Apology for the "ddd" post Bible John Excel Discussion (Misc queries) 5 February 28th 06 01:55 AM
Should I generally request "post a poll" when I post a new thread? Joe Miller Excel Discussion (Misc queries) 2 January 7th 06 04:46 PM


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