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: 15
Default Excel is adding "" to my concanteted fields

I have several lines of VB that I have in Excel that I am concantanting
and then wanting to drop into the VB editor. When I do this, Excel is
adding a " to the front and back of the code, why?

Example:

Cell A1 = Workbooks.Open Filename:= _
Cell A2 = C:\Documents and Settings\Richard Sabbara\My
Documents\Budget20060730.xls
Cell A3 = A1&CHAR(10)&A2

The result in A3 is:
"Workbooks.Open Filename:= _
C:\Documents and Settings\Richard Sabbara\My
Documents\Budget20060730.xls"

This becomes an even bigger issue for me when I am trying to build this
out using cell references, b/c it will add extra " to the cell
refrences as well. It might just be that Excel is not the program for
this.

Any suggestions?

Richard

 
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 stop re-calculated fields in excel from going "black" Pat Excel Discussion (Misc queries) 1 February 11th 10 04:40 AM
Adding data only if adjacent to cell labeled "male"/"female" lovesrubbaducky Excel Worksheet Functions 1 November 23rd 09 05:49 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Hide "All" option in page fields in Pivot Excel amit2505 Excel Programming 0 July 11th 06 12:03 AM
Adding "New" "Insert" "Delete" into a workbook to change from data 1 to data 2 etc Bob Reynolds[_2_] Excel Programming 0 March 4th 04 08:52 PM


All times are GMT +1. The time now is 12:35 AM.

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"