Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DoCmd.OutputTo

Status
Not open for further replies.

swykpisz

Programmer
Jul 20, 2004
6
US
So I've gotten this far but not sure what the template would be, like the coding. I tried to make a template to enlarge the font. This is what I have;
DoCmd.OutputTo acOutputQuery, "Messages", acFormatHTML, "C:\MessagesForAssociates2.html", 0, "C:\template.html"

The html code for the template is:
<html>
<TABLE BORDER=1 BGCOLOR=#ffffff CELLSPACING=0><FONT FACE="Arial" size ="7" COLOR=#000000><CAPTION><B>Messages</B></CAPTION></FONT>
</TABLE>
</body>
</html>

What am I doing wrong?
 

I am not sure what the question is, not very clear but it seems like you want a bigger font. If that is the case the size=7 it's a very small font. You can replace size=18
or anything above 12 and you will get a bigger font.


 
I've tried changing the format of the font in C:\template.html but this does not change the format of the output. Is there a certain template or content in the template that needs to be there?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top