Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | VanguardLH <V@nguard.LH> |
|---|---|
| Newsgroups | alt.computer |
| Subject | Re: Excel problem |
| Date | 2016-02-29 17:32 -0600 |
| Organization | Usenet Elder |
| Message-ID | <djk2omFr504U1@mid.individual.net> (permalink) |
| References | <2v1By.9722$GB1.4097@fx28.iad> |
Robert Baer wrote on 2016/02/29: > This used to work: > > vNam = Cells(2, 7).Text + "V" 'board voltage > pPath = "D:\ANALOG\HVREG\Boards\TITANTWO\TT_C\Jumpers\" > ActiveSheet.Shapes(1).Select > ' ERROR: Method of 'Active Printer' of object '_Application' failed > ' Application.ActivePrinter does not get set > Application.ActivePrinter = "Acrobat PDFWriter on FILE:" > ActiveWindow.SelectedSheets.PrintOut Copies:=1, Preview:=False, _ > ActivePrinter:="Acrobat PDFWriter on FILE:", PrintToFile:=True, _ > Collate:=False, PrToFileName:=pPath + vNam > > I does not matter what i set the default printer, the VB program > barfs the same way. > The Google groups > <https://groups.google.com/forum/#!forum/excel-macros> is useless; > nobody responds. > > Can this program problem be fixed? Newsgroups: microsoft.public.excel microsoft.public.excel.programming
Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Excel problem Robert Baer <robertbaer@localnet.com> - 2016-02-29 12:04 -0800
Re: Excel problem Paul <nospam@needed.com> - 2016-02-29 16:20 -0500
Re: Excel problem Robert Baer <robertbaer@localnet.com> - 2016-03-02 08:58 -0800
Re: Excel problem VanguardLH <V@nguard.LH> - 2016-02-29 17:32 -0600
Re: Excel problem Robert Baer <robertbaer@localnet.com> - 2016-03-02 08:59 -0800
csiph-web