Jump to content
Sign in to follow this  
endposse10

exporting to excel

Recommended Posts

is it possible to create a script that will export data to excel, AND automatically open it after it has been exported?

currently i have a script that will export data from the fields into a comma seperated file. what i'm stuck on is getting filemaker to open up that file with excel. is that possible? thanks

Share this post


Link to post
Share on other sites

That's a wonderful solution for a windows computer, but what about we poor Mac users? SendMessage returns an error message when used on a Mac.

Share this post


Link to post
Share on other sites

there is a corresponding script step which does just the same,

send apple event

of course, you will have to check for the platform first

if(abs(status(currentplatform)=1, -- MacOS (-1 = OS X, 1=MacOS)

send appleevent [odoc, export.txt,MSExcel]

else

send message[odoc, export.txt,MSExcel]

endif

Share this post


Link to post
Share on other sites

Cjaeger,

Thanks! I haven't played around with that before and it's pretty useful! Thanks for bringing my attention to it!

Sabrina

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.