Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Can I build a sentance from data tables in Excel?

I'd like to take data from different tables and create a sentance.
I've built a program to quote my companys products. Each quote is typed by a
secretary. If I could program the variables to create the sentances, it woud
streamline the process.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can I build a sentance from data tables in Excel?

msg = "the pieman bought " & Range("A1").Text & _
" pies at the fair. Each pie had a retail value of " & _
Range("A2").Text & vbNewLine & "but our pieman" _
& " only paid " & Range("A3").Text & " per pie."
msgbox msg

--
Regards,
Tom Ogilvy


"dbizek" wrote in message
...
I'd like to take data from different tables and create a sentance.
I've built a program to quote my companys products. Each quote is typed by

a
secretary. If I could program the variables to create the sentances, it

woud
streamline the process.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Can I build a sentance from data tables in Excel?

Thanks, but I'm new to this and I don't understand all of it yet. I typed
that in but it didn't do anything. Is there someplace I can read up on the
subject, possibly showing examples?


"Tom Ogilvy" wrote:

msg = "the pieman bought " & Range("A1").Text & _
" pies at the fair. Each pie had a retail value of " & _
Range("A2").Text & vbNewLine & "but our pieman" _
& " only paid " & Range("A3").Text & " per pie."
msgbox msg

--
Regards,
Tom Ogilvy


"dbizek" wrote in message
...
I'd like to take data from different tables and create a sentance.
I've built a program to quote my companys products. Each quote is typed by

a
secretary. If I could program the variables to create the sentances, it

woud
streamline the process.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can I build a sentance from data tables in Excel?

http://www.mvps.org/dmcritchie/excel/getstarted.htm

--
Regards,
Tom Ogilvy

"dbizek" wrote in message
...
Thanks, but I'm new to this and I don't understand all of it yet. I typed
that in but it didn't do anything. Is there someplace I can read up on the
subject, possibly showing examples?


"Tom Ogilvy" wrote:

msg = "the pieman bought " & Range("A1").Text & _
" pies at the fair. Each pie had a retail value of " & _
Range("A2").Text & vbNewLine & "but our pieman" _
& " only paid " & Range("A3").Text & " per pie."
msgbox msg

--
Regards,
Tom Ogilvy


"dbizek" wrote in message
...
I'd like to take data from different tables and create a sentance.
I've built a program to quote my companys products. Each quote is

typed by
a
secretary. If I could program the variables to create the sentances,

it
woud
streamline the process.






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
Inserting a formula into a sentance. Stacey Excel Worksheet Functions 3 October 15th 08 05:13 PM
build a pivot table from multiple other pivot tables. Gordo Excel Discussion (Misc queries) 1 December 11th 06 08:19 PM
conditional formatting on If sentance Lp12 Excel Worksheet Functions 1 August 6th 06 09:33 AM
how can i build a three variable data table in excel ? Solario Excel Discussion (Misc queries) 2 December 7th 04 12:11 AM
How to build build a macro that automatically imports PedroPeso Excel Programming 1 December 26th 03 08:14 PM


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

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"