VBA Excel for Mac to run .scpt file or open Dymo app

katexcel

New Member
Joined
Jun 11, 2014
Messages
6
First, any help is greatly appreciated. I'm trying to solve a problem for a co-worker. I am also new to VBA and scripts.

We use excel for inventory and a Dymo Labelwriter 450 Turbo. My co-worker's labeling process is typing in one item number into the Dymo app and then printing it before typing in another number. (As far as I can tell, multiple item numbers can't be entered to print onto multiple labels at one time.) We have been able to copy multiple item numbers in the same column, run DYMO LabelWriter.scpt using Mac's script editor, which basically opens Dymo's Excel Add-in.app and allows the printer to print multiple labels at a time. I would like to streamline this process by using VBA to open the Add-in.app.

Is it possible to directly open the Dymo application -OR- run the Dymo script that will open the application using VBA? If so, how?

The DYMO LabelWriter.scpt is as follows:

tell application "Finder" to open file "DYMO Excel Add-in.app) of folder "Addins" of folder "DLS8" of folder "DYMO" of folder "Frameworks" of folder "Library" of startup disk

Again, any help is greatly appreciated!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
I found a solution. Just want to leave notes here in case someone else needs information.

I found a script here that had a Windows path, which I then edited using the path that a Mac would understand.

To make things easier, I duplicated and renamed the "Dymo Excel Add-in" app to "DymoExcelAddin", and created a module with the following:

Sub Open_Program()

'Change the File Path below to point to any program
'on your computer. Don't forget to include the file extension

Shell ("/Library/Frameworks/DYMO/DlS8/Addins/DYMOExcelAddin.app")

End Sub
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top