473,418 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

Writing into excel spreadsheet

bob
My program copys things from a word document and puts
them into an excel spreadsheet. The problem I have
though is these annoying symbols that appear in place of
spaces in the text after Ive put them into the excel file.

here is an example. this is what it looks like in the
word document....

I went to the store.

And bought some fruit.

in the excel...

I went to the store. And bought some fruit.

How do I get rid of those annoying symbols? When i save
the text which is in the word document into a string,
does it automatically put those symbols in?

any suggestions, thanks
Nov 15 '05 #1
2 3924
Bob,

Since I have not seen your code, this is a stab in the dark:

Foreach (blah in blahblah)
{

blah.Text.Trim();

}
--------------------
Content-Class: urn:content-classes:message
From: "bob" <rf***@hotmail.com>
Sender: "bob" <rf***@hotmail.com>
Subject: Writing into excel spreadsheet
Date: Mon, 22 Sep 2003 11:12:04 -0700
Lines: 21
Message-ID: <0f****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcOBNQbDz4ZQ0goqR5We9VQGKNc1dg==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.languages.csharp
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:186579
NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

My program copys things from a word document and puts
them into an excel spreadsheet. The problem I have
though is these annoying symbols that appear in place of
spaces in the text after Ive put them into the excel file.
here is an example. this is what it looks like in the
word document....
I went to the store.
And bought some fruit.
in the excel...
I went to the store. And bought some fruit.
How do I get rid of those annoying symbols? When i save
the text which is in the word document into a string,
does it automatically put those symbols in?
any suggestions, thanks


Nov 15 '05 #2
I don't think those special symbols made it to your message.

Randy
http://www.kbcafe.com

"bob" <rf***@hotmail.com> wrote in message news:<0f****************************@phx.gbl>...
My program copys things from a word document and puts
them into an excel spreadsheet. The problem I have
though is these annoying symbols that appear in place of
spaces in the text after Ive put them into the excel file.

here is an example. this is what it looks like in the
word document....

I went to the store.

And bought some fruit.

in the excel...

I went to the store. And bought some fruit.

How do I get rid of those annoying symbols? When i save
the text which is in the word document into a string,
does it automatically put those symbols in?

any suggestions, thanks

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nevo | last post by:
Can I write to files, say for example, to an excel spreadsheet and have it written in a certain order or in certain cells? Thanks, VAL
6
by: Paul | last post by:
I was wondering if anyone has had an issue where using vba code to read an excel file and import the data into an access table some records are not imported from the excel file. It seems looking at...
11
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
3
by: dhurwitz | last post by:
I am trying to create an XML spreadsheet for use with Excel. I first saved a simple spreadsheet as an XML file, and now I am trying to recreate that file in code, using .NET 2.0. The beginning of...
1
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
1
by: vijaymohan | last post by:
Hi ..I am very new to perl..can some one help me with this script pls.. I am Querying database and writing data to excel.. Here is my script: #!/usr/bin/perl -w use strict; use DBI;
1
by: =?Utf-8?B?ZmhpbGxpcG8=?= | last post by:
We have a code snippet that downloads data to Excel. it is writing row by row. This causes a performance issue. Any ideas on how to speed this up will be appreciated. Please find below an...
12
by: vijayarl | last post by:
Hi All, To Moderator : Sorry i have posted this querry to member rather putting in the forum. To All: Problem stmt: I am reading the data from the excel files & writing its content to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.