#1   Report Post  
Posted to microsoft.public.excel.misc
yanks6rule
 
Posts: n/a
Default Inserting Quotations

I am writing a workbook that I paste into a web page. the problem is I
need each cells contents to be surrounded by quotations is there any
way I can have all text in each cell surrounded by quotations without
me having to type them in?

For example my worksheet goes
Day Month Year Start time End Time Event Event
description
1 1 2006 12:00 AM 11:59 PM New Years New Years
Day Holiday

I need the string to look like
"1", "1", "2006", "12:00 AM", "11:59 PM", "New Years", "New Years Day
Holiday"

If anyone can help me this it would be greatly appreciated

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Inserting Quotations

Assuming your information is in columns A thru G, you can write this
formula:
=CHAR(34) & A1 & CHAR(34) & ", " & CHAR(34) & B1 & CHAR(34) & ", " &
CHAR(34) & C1 & CHAR(34) & ", " & CHAR(34) & D1 & CHAR(34) & ", " &
CHAR(34) & E1 & CHAR(34) & ", " & CHAR(34) & F1 & CHAR(34) & ", " &
CHAR(34) & G1 & CHAR(34)

The CHAR(34) generates the quotation marks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
yanks6rule
 
Posts: n/a
Default Inserting Quotations

Got it thank you so much.

Bob

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
Separate 5digits by inserting - Faio Excel Worksheet Functions 4 December 1st 05 03:17 AM
help with inserting a cell value into a named formula Ed Excel Discussion (Misc queries) 1 November 25th 05 10:14 PM
Excel Limitation - Inserting Colums - Help Tim Harding Excel Discussion (Misc queries) 1 April 29th 05 01:12 PM
inserting rows through external data source [email protected] Excel Discussion (Misc queries) 0 April 5th 05 03:16 AM
Inserting Footer - Ajit Ajit Munj Excel Discussion (Misc queries) 2 March 11th 05 02:39 PM


All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"