Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Installing font with VB

I have written an excel template that uses a font I distribute with the
spreadsheet. Most of the computers that use this spreadsheet don't have this
particular font, so Excel falls back to a default font.

How would I install a font from within Excel using VB?

Thanks

Joe V.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Installing font with VB

You basically use the windows API.

I couldn't find anything VB specific, but this foxpro article shows how and
should be easily convertable. I didn't study it, but it appear to be 90%
API calls (done very similar to how you would do it in VB) and little foxpro
specific stuff.

On thing you need to be sure of is that you have authority to distribute the
font.

http://support.microsoft.com/default...b;en-us;186722
How To Programmatically Install a True Type Font (visual foxpro)

--
Regards,
Tom Ogilvy

"joev7777" wrote in message
...
I have written an excel template that uses a font I distribute with the
spreadsheet. Most of the computers that use this spreadsheet don't have

this
particular font, so Excel falls back to a default font.

How would I install a font from within Excel using VB?

Thanks

Joe V.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Installing font with VB

Thanks Tom,

I appreciate your response.

Joe V.

"Tom Ogilvy" wrote:

You basically use the windows API.

I couldn't find anything VB specific, but this foxpro article shows how and
should be easily convertable. I didn't study it, but it appear to be 90%
API calls (done very similar to how you would do it in VB) and little foxpro
specific stuff.

On thing you need to be sure of is that you have authority to distribute the
font.

http://support.microsoft.com/default...b;en-us;186722
How To Programmatically Install a True Type Font (visual foxpro)

--
Regards,
Tom Ogilvy

"joev7777" wrote in message
...
I have written an excel template that uses a font I distribute with the
spreadsheet. Most of the computers that use this spreadsheet don't have

this
particular font, so Excel falls back to a default font.

How would I install a font from within Excel using VB?

Thanks

Joe V.




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
Changing Font color based on font type or size John Excel Discussion (Misc queries) 2 February 7th 08 12:50 AM
Changed default font, previous font still shows when editing Font/Editing Problem Excel Discussion (Misc queries) 1 May 19th 06 12:46 PM
Changed default font, previous font still shows when editing Font/Editing Problem Excel Discussion (Misc queries) 0 May 18th 06 04:37 PM
self-installing add-in? Mike[_37_] Excel Programming 5 August 22nd 03 04:42 PM
self-installing add-in? Mike[_37_] Excel Programming 0 August 20th 03 07:25 PM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"