Excel Integration

Integrate PC*MILER with Excel

Jump to


    Integrating PC*MILER with Excel enhances the functionality and efficiency of logistics, dispatch, and route planning within a familiar spreadsheet environment. By combining the power of PC*MILER's route optimization with Excel's data management capabilities, businesses can streamline their operations and make data-driven decisions. Proper integration ensures accurate distance calculations and seamless data handling, which are critical in maintaining the integrity of postal codes and addresses. On this page, we'll cover why to integrate PC*MILER with Excel, what you need to set up the integration, how to integrate PC*MILER with Excel, use cases for integrating PC*MILER with Excel, troubleshooting your PC*MILER integration with Excel, and Q&A about integrating PC*MILER with Excel.

    Understanding the importance of this integration ensures that users can avoid common pitfalls such as misformatted columns, which can lead to data loss and inaccuracies. This page serves as a comprehensive guide to help you navigate through the process of integrating PC*MILER with Excel, from initial setup to advanced use cases. Whether you're calculating driving distances or managing large datasets, the resources provided here aim to help you maximize the benefits of utilizing PC*MILER within the Excel platform.

    Integrating PC*MILER with Excel

    Integrating PC*MILER with Excel can be accomplished in various ways to enhance your experience with spreadsheet-based route planning and data analysis. Each method offers flexibility depending on user preference and workflow requirements. Below, we detail the steps for each integration method to help you get started.

    Manual Enabling of PC*MILER Spreadsheets Add-In

    To manually enable the PC*MILER Spreadsheets Add-In within Excel, you must access the Add-Ins dialog box and select \"PC*MILER Spreadsheets\" from the list of available products. Once enabled, the functions of PC*MILER Spreadsheets will be available for use in your Excel workbook.

    Automatic Loading of PC*MILER Spreadsheets Add-In

    If you prefer that the PC*MILER Spreadsheets Add-In loads automatically when you start Excel, you can configure this option. By copying the file pcmsrv32.xla from the Excel folder in the PC*MILER installation directory to the Excel startup folder, the Add-In will launch without requiring manual activation each time Excel is opened.

    Disabling and Removing PC*MILER Spreadsheets Add-In

    Should you need to disable the PC*MILER Spreadsheets Add-In, it can be manually turned off within the Add-Ins dialog box of Excel. In addition, if you wish to prevent the Add-In from loading automatically, you can remove the pcmsrv32.xla file from the Excel XLSTART folder, effectively stopping the automatic initiation of the Add-In.

    Sourcetable Integration

    Integrating PC*MILER with Sourcetable

    Integrating PC*MILER with Sourcetable offers a seamless experience for managing logistics data, surpassing the capabilities of traditional Excel spreadsheets. Sourcetable's ability to sync live data from a wide range of applications and databases, including PC*MILER, provides a real-time view of routing information, which is crucial for making timely decisions in the fast-paced logistics industry.

    By leveraging Sourcetable for PC*MILER data, businesses can take advantage of automated data pulls from multiple sources. This reduces the manual effort required to consolidate information and minimizes the risk of human error associated with manual entry. Sourcetable's familiar spreadsheet interface allows users to query and manipulate data efficiently without the steep learning curve often associated with new software.

    The integration also enhances business intelligence capabilities by enabling dynamic data analysis. Users can generate insights and reports with ease, thus facilitating more informed decision-making. The automation features within Sourcetable significantly reduce the time spent on repetitive data tasks, freeing up valuable resources to focus on strategic planning and execution.

    In conclusion, the integration of PC*MILER with Sourcetable offers a powerful alternative to Excel, providing a robust platform for automation, real-time data synchronization, and advanced business intelligence. This integration empowers logistics professionals to streamline their operations and achieve a competitive edge in the market.

    Common Use Cases

    • P
      Excel Integration
      Calculating the distance between multiple sets of locations for logistics planning
    • P
      Excel Integration
      Using PC*MILER distance data for cost analysis and budgeting within Excel
    • P
      Excel Integration
      Leveraging the Insert Function option to streamline the input of routing formulas
    • P
      Excel Integration
      Applying the Paste Special feature to efficiently manage large datasets of calculated distances
    • P
      Excel Integration
      Incorporating distance information into custom Excel reports for transportation analytics

    Frequently Asked Questions

    How do I enable the PC*MILER Spreadsheets Add-In in Excel?

    The PC*MILER Spreadsheets Add-In must be manually enabled in Excel. Once installed, you need to activate it through the Excel Add-Ins menu.

    Why am I getting a 'Run-time error 1004' in Excel when using PC*MILER?

    The 'Run-time error 1004' is caused by Excel not trusting programmatic access to the Visual Basic Project. Adjusting the macro settings to trust access to the VBA project object model can resolve this issue.

    How can I prevent Excel from removing leading zeroes from postal codes in PC*MILER?

    Formatting a field as text in Excel is one way to prevent Excel from removing leading zeroes from postal codes when using PC*MILER Spreadsheets.

    What does the 'Sub or Function Not Defined' error mean when using PC*MILER in Excel?

    The 'Sub or Function Not Defined' error occurs when calling PC*MILER Spreadsheets from a macro sheet. This can be resolved by ensuring that pcmsrv.xla is selected in the References menu.

    What should I do if I encounter a '-1' error in PC*MILER Excel integration?

    The '-1' error indicates that the location entered is not a valid PC*MILER location. Ensure that the location data includes correct postal codes or city/state place names.


    Integrating PC*MILER with Excel streamlines logistics and transportation workflows by enabling users to access vital distance data, generate point-to-point distances, drive times, and build custom databases directly within Excel. By leveraging the PC*MILER Spreadsheets Excel Add-In, which is compatible with Excel versions 5.0 and higher, users can enhance their productivity and data analysis capabilities. Following best practices, such as using the Insert Function option for formulas and formatting cells for clarity, ensures the most efficient use of the integration. However, if you're looking for an alternative solution that eliminates the need for manual integrations, consider using Sourcetable. Sign up for Sourcetable to get started and experience a seamless, integrated data management solution.

    Connect your PC*MILER Data

    Analyze data, automate reports and create live dashboards
    for all your business applications, without code. Get unlimited access free for 14 days.