Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Line Feed in Formula Adds Double Quotes?

I am trying to use a formula to create multiline text that I can copy and
paste into another application. The problem is the pasted text always comes
enclosed in double quotes which are not in the cell in Excel (and which I do
not want).

Cell A1 contains "CustomerName" (without quotes, I just typed CustomerName
directly into the cell).

Cell A2 contains "String" (again without the quotes)

Cell A3 contains the following formula:
="Public Property " & A1 & " As " & A2 & CHAR(13) & CHAR(10) & "End Property"

In Excel, cell A3 (when formatted to wrap lines) shows:
Public Property CustomerName As String
EndProperty

....just like I want it, on two separate lines. But when I select cell A3 and
copy, and then go to Notepad and paste, it appears in Notepad like this:
"Public Property CustomerName As String
EndProperty"

Where are these double quotes coming from and how can I get rid of them?

Thanks for any help or thoughts!

-Carl



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Double quotes when using line feed

I use ASAP Utilities which is a free pack of Excel macros - just Google it. Under Export, there is a function called Copy Selection As Values. That copies everything except the double quotes to the clipboard. I assigned that function to Shift-Control-C and it works like a charm.



CarlT wrote:

Line Feed in Formula Adds Double Quotes?
21-Mar-10

I am trying to use a formula to create multiline text that I can copy and
paste into another application. The problem is the pasted text always comes
enclosed in double quotes which are not in the cell in Excel (and which I do
not want).

Cell A1 contains "CustomerName" (without quotes, I just typed CustomerName
directly into the cell).

Cell A2 contains "String" (again without the quotes)

Cell A3 contains the following formula:
="Public Property " & A1 & " As " & A2 & CHAR(13) & CHAR(10) & "End Property"

In Excel, cell A3 (when formatted to wrap lines) shows:
Public Property CustomerName As String
EndProperty

....just like I want it, on two separate lines. But when I select cell A3 and
copy, and then go to Notepad and paste, it appears in Notepad like this:
"Public Property CustomerName As String
EndProperty"

Where are these double quotes coming from and how can I get rid of them?

Thanks for any help or thoughts!

-Carl

Previous Posts In This Thread:

On Sunday, March 21, 2010 9:33 PM
CarlT wrote:

Line Feed in Formula Adds Double Quotes?
I am trying to use a formula to create multiline text that I can copy and
paste into another application. The problem is the pasted text always comes
enclosed in double quotes which are not in the cell in Excel (and which I do
not want).

Cell A1 contains "CustomerName" (without quotes, I just typed CustomerName
directly into the cell).

Cell A2 contains "String" (again without the quotes)

Cell A3 contains the following formula:
="Public Property " & A1 & " As " & A2 & CHAR(13) & CHAR(10) & "End Property"

In Excel, cell A3 (when formatted to wrap lines) shows:
Public Property CustomerName As String
EndProperty

....just like I want it, on two separate lines. But when I select cell A3 and
copy, and then go to Notepad and paste, it appears in Notepad like this:
"Public Property CustomerName As String
EndProperty"

Where are these double quotes coming from and how can I get rid of them?

Thanks for any help or thoughts!

-Carl


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Report Engine, Part 1
http://www.eggheadcafe.com/tutorials...ne-part-1.aspx
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Double quotes when using line feed

I use ASAP Utilities which is a free pack of Excel macros. Under Export, there is a function called Copy Selection As Values. That copies everything except the double quotes to the clipboard. I assigned the function to Shift-Control-C and it works like a charm.



CarlT wrote:

Line Feed in Formula Adds Double Quotes?
21-Mar-10

I am trying to use a formula to create multiline text that I can copy and
paste into another application. The problem is the pasted text always comes
enclosed in double quotes which are not in the cell in Excel (and which I do
not want).

Cell A1 contains "CustomerName" (without quotes, I just typed CustomerName
directly into the cell).

Cell A2 contains "String" (again without the quotes)

Cell A3 contains the following formula:
="Public Property " & A1 & " As " & A2 & CHAR(13) & CHAR(10) & "End Property"

In Excel, cell A3 (when formatted to wrap lines) shows:
Public Property CustomerName As String
EndProperty

....just like I want it, on two separate lines. But when I select cell A3 and
copy, and then go to Notepad and paste, it appears in Notepad like this:
"Public Property CustomerName As String
EndProperty"

Where are these double quotes coming from and how can I get rid of them?

Thanks for any help or thoughts!

-Carl

Previous Posts In This Thread:

On Sunday, March 21, 2010 9:33 PM
CarlT wrote:

Line Feed in Formula Adds Double Quotes?
I am trying to use a formula to create multiline text that I can copy and
paste into another application. The problem is the pasted text always comes
enclosed in double quotes which are not in the cell in Excel (and which I do
not want).

Cell A1 contains "CustomerName" (without quotes, I just typed CustomerName
directly into the cell).

Cell A2 contains "String" (again without the quotes)

Cell A3 contains the following formula:
="Public Property " & A1 & " As " & A2 & CHAR(13) & CHAR(10) & "End Property"

In Excel, cell A3 (when formatted to wrap lines) shows:
Public Property CustomerName As String
EndProperty

....just like I want it, on two separate lines. But when I select cell A3 and
copy, and then go to Notepad and paste, it appears in Notepad like this:
"Public Property CustomerName As String
EndProperty"

Where are these double quotes coming from and how can I get rid of them?

Thanks for any help or thoughts!

-Carl

On Friday, April 09, 2010 5:47 PM
julie kothari wrote:

Double quotes when using line feed
I use ASAP Utilities which is a free pack of Excel macros - just Google it. Under Export, there is a function called Copy Selection As Values. That copies everything except the double quotes to the clipboard. I assigned that function to Shift-Control-C and it works like a charm.


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Datagrid as ComboBox Dropdown Part 2
http://www.eggheadcafe.com/tutorials...-combobox.aspx
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Oops

Sorry for the double post



julie kothari wrote:

Double quotes when using line feed
09-Apr-10

I use ASAP Utilities which is a free pack of Excel macros. Under Export, there is a function called Copy Selection As Values. That copies everything except the double quotes to the clipboard. I assigned the function to Shift-Control-C and it works like a charm.

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
File-Based Cache for Web and non-Web Apps plus Extend ASP.NET 4.0 OutputCacheProvider
http://www.eggheadcafe.com/tutorials...e-for-web.aspx
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
Challenge - Excel Line Feed Character CHR(10) - How to Delete and keep the text formatting without going ro single line in a cell ? No Name Excel Worksheet Functions 7 October 7th 09 11:10 AM
How do I insert a line feed in a formula? TX_KniveS Excel Worksheet Functions 5 October 31st 08 12:55 AM
displaying output of a formula to be in double quotes Mike Scala Excel Worksheet Functions 7 January 23rd 07 06:11 PM
Problem: Copying a cell that contains line breaks adds extra quotes [email protected] Excel Discussion (Misc queries) 0 November 2nd 06 07:58 PM
copy/paste excel to texteditor -> multi-line text cells gain unwanted double-quotes niz Excel Discussion (Misc queries) 1 October 14th 05 02:06 PM


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