Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Blog Filelist macro for Projectwise Excel import/export tool
    • Sign In

    Oto
    Oto
    Fri, Jul 12 2013
    • Excel
    • Export/Import Tool

    • Share
    • Subscribe by email
    • More
    • Cancel
    • August 2022 (1)
    • December 2020 (1)
    • July 2020 (1)
    • July 2019 (1)
    • November 2017 (1)
    • October 2017 (2)
    • July 2017 (1)
    • June 2017 (2)
    • April 2017 (1)
    • February 2017 (1)
    • January 2017 (2)
    • December 2016 (1)
    • October 2016 (1)
    • September 2016 (2)
    • July 2016 (1)
    • June 2016 (1)
    • April 2016 (2)
    • March 2016 (1)
    • February 2016 (2)
    • January 2016 (1)
    • December 2015 (2)
    • November 2015 (2)
    • August 2015 (2)
    • July 2015 (1)
    • June 2015 (3)
    • April 2015 (3)
    • March 2015 (2)
    • February 2015 (1)
    • December 2014 (1)
    • October 2014 (3)
    • August 2014 (1)
    • June 2014 (1)
    • May 2014 (3)
    • March 2014 (1)
    • November 2013 (2)
    • October 2013 (4)
    • September 2013 (2)
    • August 2013 (4)
    • July 2013 (6)
    • June 2013 (6)
    • April 2013 (8)
    • March 2013 (9)
    • February 2013 (3)
    • January 2013 (4)
    • December 2012 (5)
    • November 2012 (6)
    • October 2012 (3)
    • September 2012 (4)
    • August 2012 (7)
    • July 2012 (4)
    • June 2012 (6)
    • May 2012 (2)
    • April 2012 (5)
    • March 2012 (2)
    • February 2012 (4)
    • January 2012 (2)
    • December 2011 (3)
    • November 2011 (2)
    • October 2011 (4)
    • September 2011 (4)
    • August 2011 (5)
    • July 2011 (5)
    • June 2011 (5)
    • May 2011 (4)
    • April 2011 (6)
    • March 2011 (5)
    • February 2011 (4)
    • January 2011 (8)
    • December 2010 (10)
    • November 2010 (4)
    • October 2010 (3)
    • September 2010 (6)
    • August 2010 (7)
    • July 2010 (6)
    • June 2010 (6)
    • May 2010 (3)
    Related
    Recommended

    Filelist macro for Projectwise Excel import/export tool

    I would like to share a Excel macro which I have created for simplifying file import to Projectwise from XLS. This script allows to browse for folder and fill the file list in Excel spreadsheet.

    How to use?

    1. Enable macros in Excel

    2. Open PW_Excel_import_script.xlsm
    3. Click OK
    4. Macro Main window opens
    5. Choose "Browse" and select folder which to scan for source files for later importing in Projectwise. Note: the dialog will list only folders this is normal
    6. Afterwards click "OK"
    7. It will show a progress bar
    8. Finished
    9. Afterwards check the results and save file as legacy Excel 98-2003 format (XLS) 
    10. Import in Projectwise using PW Excel Export-Import tool.

    Options

    After file list is loaded the columns will be filled with filename and path to source file. 2nd row is reserved for Excel formulas or default attribute values. This row will remain empty and is used to fill down the values/formula for other columns.

    .

    Values marked in green are mandatory for each row. If some files are not needed for import then one of these cells can be deleted and it will not import in Projectwise afterwards and also will be logged as an error in log file. Other cells can be filled manually.

    It is possible to append more files to list by executing the macro again using icon in upper left corner:

    To restart and clear sheet use other custom icon in upper left corner:

    Custom attributes(environments)

    Attached file contains only general attributes. To be able to fill your custom attributes also it is needed to copy these from your PW environments. Create a Excel template using PW Excel Export-Import tool and copy additional columns from created template and also replace Sheet2.

    Known issues:

    • Projectwise import tool only allows to select .XLS  files by default. If the file was saved using original .XLSM extension it is actually also possible to select  other Excel file versions if providing filename filter "*.XLSM" instead of filename.

    • If using formulas for filling cells and formula returns error (#N/A,#VALUE, etc.) the PW Excel import tool will fail. So use IFERROR function in Excel so in case of error value an empty value is returned.
    • Sometimes the macro doesn't auto-close when import tool opens the file and it can cause the import to fail. Not sure what causes this.
    • Even that second row doesn't contain any values the import tool still logs this as an error. Either delete second row before importing or just ignore this warning in log.

     

    PW_Excel_import_script.zip
    • Sign in to reply
    • Oto
      Offline Oto over 9 years ago

      you are welcome

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • More
      • Cancel
    • Raymond To
      Offline Raymond To over 9 years ago

      Cool, I will give this a try.  Thanks for posting.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • More
      • Cancel
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies