Sign in to submit new ideas and vote
Get Started

enable import of xlsm by data shuttle

Hi community,

the idea is to enable import of macro-enabled xls workbooks (xlsm) by data shuttle,

this can prove really useful by importing /handling advanced project-related documents or business models !

Currently only csv and xlsx are allowed to be imported.

Cheers,

Andrey

5
5 votes

Idea Submitted Β· Last Updated

Comments

  • Matt Molland
    Matt Molland ✭✭✭

    I am working through a solution for this right now. I had to create a new workbook, then use the .xlsm sheet with your macros to open the .xlsx file, copy contents, then close the file. Then I use Data Shuttle to link to the other sheet.

    Dim FilePath As String

    Β Β Dim wbk As Workbook

    Β Β Dim oldStatusBar As String

    FilePath = "C:\Box\Shared Documents\SmartSheets Reference Sheets\Metrics Smartsheet.xlsx"

    Β Β Set wbk = ActiveWorkbook


    Β Β Application.ScreenUpdating = False

    Β Β Β Workbooks.Open FilePath

    Β Β Range("A1").Select

    Β Β wbk.Sheets(1).Range("1:63").Copy Destination:=ActiveCell

    Β Β ActiveWorkbook.Save

    Β Β ActiveWorkbook.CloseΒ Β Β Β 

    Β Β Application.ScreenUpdating = True