• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MS Excel Save problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS Excel Save problem


  • Subject: Re: MS Excel Save problem
  • From: Yvan KOENIG <email@hidden>
  • Date: Thu, 13 Jul 2017 19:22:04 +0200

> Le 13 juil. 2017 à 19:05, Thomas Maffucci <email@hidden> a écrit :
>
> save workbook as newBook filename "Macintosh HD:Users:Thomas:Desktop:Goog
> Ports:" & "UPL" & Portno & ".csv" file format CSV file format
>
>
> gets "Microsoft Excel got an error: Parameter error.”
>
>
> Under macOS Sierra v10.12.5 and Excel 15.35 (170702)
>
>
> This ran ok under OS X 10.8.5 Mountain Lion  and Excel2008 12.3.6 (130203)
>
>
> I need an AppleScript workaround what appears to be a ms excel Bug
>

You are facing a sandboxing artefact.
Try to use :

set theFile to "Macintosh HD:Users:Thomas:Desktop:Goog Ports:" & "UPL" & Portno
& ".csv"
close access (open for access file theFile with write permission)
save workbook as newBook filename theFile file format CSV file format


Yvan KOENIG running Sierra 10.12.5 in French (VALLAURIS, France) jeudi 13
juillet 2017 19:21:50




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >MS Excel Save problem (From: Thomas Maffucci <email@hidden>)

  • Prev by Date: MS Excel Save problem
  • Next by Date: Re: 10.13 beta ?
  • Previous by thread: MS Excel Save problem
  • Next by thread: Converting an array to formatted text
  • Index(es):
    • Date
    • Thread