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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. alanwes

    Help with Office objects

    Sorry, needed to add the following lines which i worked out by looking at vb versions of the same thing and also using the get-member cmdlet. $dl = $series.DataLabelsCollection.Add() $dl.HasPercentage = "True
  2. alanwes

    check if processis running

    Solved.... $wordrunning = (Get-Process 'WinWord' -ea SilentlyContinue) if ( $wordrunning -eq ""){ Write-Host "Please close all instances of Microsoft Word." exit } else { }
  3. alanwes

    check if processis running

    Im trying to check if a process is running but get an error when checking which i dont want the users of my script to see, anyone know how i do this correctly ? if ((Get-Process 'WinWord') -eq $False){ Write-Host "Please close all instances of Microsoft Word before running this report." exit }...
  4. alanwes

    Help with Office objects

    Managed to fix this myself.
  5. alanwes

    Help with Office objects

    Hi, I have managed to add a piechart to a word document using the following code, but I cant manage to get the pie chart to have percentage values, this is available using the .HasPercentage = True value but I cant get it right, can anyone help ? Thanks $msWord = New-Object -Com...

Part and Inventory Search

Back
Top