Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
PO PO is offline
external usenet poster
 
Posts: 66
Default Creating a printers list

Hi,

I can use Application.Activeprinter to get or set the activeprinter.
How do i get ALL available printers (I want to load them into a ComboBox on
an Userform)?

TIA
PO


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Creating a printers list

Hi Po

That takes some Windows programming, and the solution depends on your
operating system. See Randy Birch's code
http://www.mvps.org/vbnet/index.html...umprinters.htm

--
HTH. Best wishes Harald
Followup to newsgroup only please

"PO" <po skrev i melding ...
Hi,

I can use Application.Activeprinter to get or set the activeprinter.
How do i get ALL available printers (I want to load them into a ComboBox

on
an Userform)?

TIA
PO




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Creating a printers list

If your main purpose is to allow the user to change the printer, why not use
the built in capability:

application.Dialogs(xlDialogPrinterSetup).Show
--
Regards,
Tom Ogilvy

"PO" <po wrote in message ...
Hi,

I can use Application.Activeprinter to get or set the activeprinter.
How do i get ALL available printers (I want to load them into a ComboBox

on
an Userform)?

TIA
PO




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
Creating a Detailed List from a Summary List [email protected] Excel Worksheet Functions 0 September 7th 06 12:36 AM
Creating A Breakout List from a Summary List [email protected] Excel Discussion (Misc queries) 0 September 6th 06 11:58 PM
Creating a List based on your choice from Another List Cristi Excel Discussion (Misc queries) 1 August 14th 06 06:00 PM
List of available printers prizm1 New Users to Excel 3 June 12th 05 01:32 PM
List of Printers Bret Holle Excel Programming 1 September 27th 03 04:39 PM


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