excel VBA macro to generate .rtf file

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2006
Posts: 1
Reputation: ducu25 is an unknown quantity at this point 
Solved Threads: 0
ducu25 ducu25 is offline Offline
Newbie Poster

excel VBA macro to generate .rtf file

 
0
  #1
Oct 12th, 2006
Hi

I don't know if this is the best place to post my question, but
here is what I have and what I need to do:
- I have 100 questions. Every question is in a cell (from B1 to B100). In cells A1..A100 I can say "yes" or "no" wether I want to use that question or not in a questionare. I have one command button.

- to generate the questionare, first I choose 10 questions (by marking the cells from column A with "yes"). Then I want to press the command button and to generate a .rtf file with those 10 questions. I want to be able to set some formatting of the text (bold, colored, size, etc).

Can you tell me how to do it? So far I was only able to create a .txt file but I can not set any properties of the text (it's only plain text).

10x a lot

EXTRA: if I have a picture in the excel, can I "copy" it also to the .rtf file?
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1
Reputation: vijeshally is an unknown quantity at this point 
Solved Threads: 0
vijeshally vijeshally is offline Offline
Newbie Poster

Re: excel VBA macro to generate .rtf file

 
0
  #2
Feb 25th, 2008
how can i create an rtf file format in visual basic 6
Last edited by vijeshally; Feb 25th, 2008 at 8:51 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC