944,008 Members | Top Members by Rank

Ad:
Oct 12th, 2006
0

excel VBA macro to generate .rtf file

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ducu25 is offline Offline
1 posts
since Oct 2006
Feb 25th, 2008
0

Re: excel VBA macro to generate .rtf file

how can i create an rtf file format in visual basic 6
Last edited by vijeshally; Feb 25th, 2008 at 8:51 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vijeshally is offline Offline
1 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: blinking textboxes and buttons
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: The "Change Solution" Help Needed





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC