Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #10492

Re: Excel FOO; useful help?

From Paul <nospam@needed.invalid>
Newsgroups alt.computer
Subject Re: Excel FOO; useful help?
Date 2017-09-18 21:25 -0400
Organization A noiseless patient Spider
Message-ID <opprlq$jmp$1@dont-email.me> (permalink)
References <KUVvB.88937$zE2.19326@fx20.iad>

Show all headers | View raw


Robert Baer wrote:
> '' Excel app no longer works
> 
>     vNam = Cells(2, 7).Text + "V"   'board voltage
>     pPath = "D:\ANALOG\HVREG\Boards\TITANTWO\TT_C\Jumpers\"
>     ActiveSheet.Shapes(1).Select
>     ' cannot get printer to work, and no useful help
>     ' ALWAYS wants to print to f'ing "My Documents" no matter what
>     ' AND to add insult to injury, it asks for file name
> '' THIS USED TO WORK
>     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
>     ' the following scheme does not work either
>     Application.ActivePrinter = "Acrobat PDFWriter on FILE:, 
> PrToFileName:=pPath + vNam"
>     Kill pPath + vNam   'only PDF left
> ' END  END
> 
>   Help, please.
> 
> 

The account doing the printing, doesn't have "permission"
to access the area used on the D: drive. You'd moved the
disk or the data around, and a new account is involved.

The problem probably isn't in the Excel code at all,
and the problem is external to the code. Your new
environment is doing it.

Pure guess,
    Paul

Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-18 13:20 -0800
  Re: Excel FOO; useful help? VanguardLH <V@nguard.LH> - 2017-09-18 16:50 -0500
    Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-15 22:06 -0700
  Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-09-18 21:25 -0400
    Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-19 01:25 -0700
      Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-09-19 05:18 -0400
        Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-20 01:49 -0700
        Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-22 21:04 -0700
          Re: Excel FOO; useful help? (See next step at **) Robert Baer <robertbaer@localnet.com> - 2017-09-22 22:33 -0700
            Re: Excel FOO; useful help? (See next step at **) Paul <nospam@needed.invalid> - 2017-09-23 02:09 -0400
              Re: Excel FOO; useful help? (See next step at **) Robert Baer <robertbaer@localnet.com> - 2017-09-23 21:42 -0700
                EXCEL-G@PEACH.EASE.LSOFT.COM authorization Robert Baer <robertbaer@localnet.com> - 2017-09-23 22:42 -0700
                Re: Excel FOO; useful help? (See next step at **) Paul <nospam@needed.invalid> - 2017-09-24 05:42 -0400
                Re: Excel FOO; useful help? (gurr!) Robert Baer <robertbaer@localnet.com> - 2017-09-24 16:12 -0700
        Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-15 22:13 -0700
          Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-16 01:31 -0400
            Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-17 20:25 -0800
              Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-18 00:29 -0400
                Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-20 21:45 -0700
                Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-21 05:56 -0400
            Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-17 21:18 -0800
              Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-18 01:29 -0400
                Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-21 20:57 -0800

csiph-web