Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 156
Default Newbie question re Form

Apologies for such a 'basic' question.

I presume the way to print something is to Open a Form
with a label on it and send a string value to the label.

Is there any way to control printing attributes, e.g.
colour, size, background - apart from having a seperate
label for each word or sentence.

I'm particularly thinking of the enbedded control codes
used in the Commodore 64.

Thanks - Kirk
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Newbie question re Form

Based on your description, I assume by print you mean display?

use a dialog sheet with forms controls and look at the Characters
method/class.

or by the use of the term form, do you mean a worksheet made to look like a
paper form. You can just put the string in a cell and use rich text
formatting - in code, you would again use the Characters method/class.
Turn on the macro recorder and perform the action manually. Turn of the
macro recorder and look at the code.

the above assume you want different attributes for each character or subset
of characters. If you just mean for the whole label, then you set the
properties of the control. Then it depends on which "family" of controls.
ActiveX/Control Toolbox Toolbar or Forms Toolbar.

But none of them support embedded control characters as you cite although
Dick's Blog discussed a technique to use HTML. You can search google for
Daily Dose of Excel and HTML.

--
Regards,
Tom Ogilvy


"kirkm" wrote in message
...
Apologies for such a 'basic' question.

I presume the way to print something is to Open a Form
with a label on it and send a string value to the label.

Is there any way to control printing attributes, e.g.
colour, size, background - apart from having a seperate
label for each word or sentence.

I'm particularly thinking of the enbedded control codes
used in the Commodore 64.

Thanks - Kirk



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
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Newbie Code Question: Showing various pictures on a form DDawson Excel Programming 3 December 4th 06 02:30 PM
VB form Newbie rochdalemark[_6_] Excel Programming 1 May 25th 06 05:31 PM
Newbie - Input Form Question Tempy Excel Programming 6 August 10th 05 01:13 PM
Trouble with filtering form - newbie ryssa Excel Programming 1 June 22nd 04 04:33 AM


All times are GMT +1. The time now is 06:02 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"