I have an xlsm file with macros that enable data collection from OLE DB source. I just need to make an import package with it in sql server. But when I'm trying to use import/export wizard or ssis-it shows that it can not deal with .xlsm extentions. Is there any way to deal with it?
2
There are 2 best solutions below
0
rufus1530
On
Had the same issue (SQL Server 2008 R2), Rahul's solution worked for me, but I just want to add a couple of things:
- Select Excel 2007 in Excel version when creating Excel Connection.
- Use SQL Command as Data access mode when editing the Excel Source. Visual Studio crashed for me every time I was trying to use Table or view.
Related Questions in SQL
- Can MVC.NET prevent SQL-injection at razor or controller level?
- SQL server not returning all rows
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- Creating a parametrized field name for a SELECT clause
- Combine two rows based on common ID
- Column displays each count
- Slick query for one to optional one (zero or one) relationship
- Aggregate and count in PostgreSQL
- MAX and GROUP BY - SQL
- SQL statement for a tricky 2 table query
- How to create nested selects with sql?
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Best Practice for adding columns to a Table in Oracle database
- SQL FIFO STACK using two tables
- SQL Query - Order by String (which contains number and chars)
Related Questions in SQL-SERVER
- SQL server not returning all rows
- Big data with spatial queries/indexing
- Conditional null constraint on Null
- SQL Query - Order by String (which contains number and chars)
- Optimising a slow running SQL Server Stored procedure ordered by calculated fields to return a closest match
- Dynamics CRM Publishing Customizations - Multi Developers
- Is there anyway to set the relationship of many tables from Model?
- Implementation of Rank and Dense Rank in MySQL
- ORM Code First versa Database First in Production
- MVC : Insert data to two tables
- Data streams in case of Merge
- table with multiple IDs but seperate notes need sorting (Tried SQL code to make a union query)
- SQL table Partitioning by Year with ColumnStore index implemented on the table
- Defining which network to use for SQL Server 2012 Management Studio
- Fill a week days in a table with preceding Sundays value
Related Questions in IMPORT
- Django invalid literal for int() with base 10:
- Importing a downloaded JAR file into a Servlet
- Importing with package name breaking enum comparison in Python
- Being able to print before declaring. PYTHON
- R Importing excel file directly from web
- Connect to database and export to sql script
- Import Git SVN cloned repository into existing Git repository
- Python Searching for files and Importing them
- Python Importlib Not Finding Modules
- Python dynamic from?
- Android Importing Project -- FloatingActionButton cannot be found
- importing function giving scoping error
- How can I add an image in the drawable/res folder?
- importing external ".txt" file in python
- Import dataset with spanish special characters into R
Related Questions in SSIS
- Data streams in case of Merge
- SSIS Package Component Intermittently Failing
- How to run an SSIS package having excel source on a server where excel is not installed using SQL Server Agent Job
- SSIS exit code error with batch file
- excel datasource returning nulls with sql command
- String to DATETIME with TimeZone
- Error executing SSIS Package
- SSIS Stops at a Particular Record Count
- How to know expected completion time of SQL Server SSIS job?
- Accessing parent parameters from child package SSIS 2012
- Is there a way to export huge amount of data (more than a million rows) from SQL Server to csv?
- ssis - No value given for one or more required parameters
- Split CSV file based on first column value changes and load into destination table in SSIS?
- Automated file import with SSIS package
- SSIS ETL parallel extraction from a AS400 file
Related Questions in XLSM
- Best way to generate a .xlsm file from Oracle?
- Use epplus to create .xlsm file
- xlsm into sql server
- How to open and edit an XLSM file online
- How to read values from macro cells in excel using python 3
- after run macro to save as xlsx file, the macro file convert to xlsx file
- java.lang.NoSuchMethodError when trying to read .xlsm file
- ExcelDataReader.AsDataSet() converts single fraction double value into multiple fractions
- creating .xlsm file from a string data
- Excel 365: .xlsb/.xlsm files gain significant bloat
- I cannot open the xlsm file after re-writing over it
- Anyway to read and write .XLSM excel file using perl script?
- Convert XLSM to XLSX in Power Automate
- Excel 2010 - Conditional Formatting
- When should the xlsm or xlsb formats be used?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
follow this : 1-Create an Excel Connection Manager to refer to ANY other spreadsheet with a "valid" XLS or XLSX extension. (You don't have to save your XLSM file "as" an XLSX.) 2-Select the Excel Connection Manager in your Connection Managers pane. 3-Open the Properties Window (F4). 4-Change the "Server Name" property to the full pathname of your XLSM file.
note: check the file should not be in read only mode