Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1039677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:07:47+00:00 2026-05-16T15:07:47+00:00

If I create a stored proc in sql that has a parameter, can I

  • 0

If I create a stored proc in sql that has a parameter, can I run that from Excel?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:07:47+00:00Added an answer on May 16, 2026 at 3:07 pm

    Without using VBA you can use this method. This assumes your stored procedure returns a result set. It also does not make the parameter pulled from a workbook. I think you’d have to use VBA to do that.

    1. Under the ‘Connections’ section click ‘Connections’
    2. Click Add
    3. Click ‘Browse for More…’
    4. Click ‘New Source…’
    5. Select ‘Microsoft SQL Server’
    6. Click Next
    7. Type in the login credentials and click ok.
    8. Select your database
    9. Uncheck ‘Connect to a specific table’
    10. Click Finish.
    11. When asked to select a table just click ok.
    12. This should bring you back to the Workbook Connections screen with your new connection added.
    13. Select it and click ‘Properties’
    14. Go to the ‘Definition’ tab.
    15. Set the Command Type to SQL
    16. set the Command text to the SQL you want to run (i.e. “exec spStoredProc ‘value'”)
    17. Set a new name for your connection
    18. Click ok.
    19. if told that you are severing a connection just agree that, that is okay.
    20. Click ‘Close’ on your ‘Workbook Connections’
    21. Click ‘Existing Connections’ under the ‘Get External Data’ section
    22. Select your connection you just made under the ‘Connections in this Workbook’ section.
    23. Click Open
    24. Set your Import Data options if you want or just click ok
    25. You should now see the result set from the SQL Query in your excel worksheet.
    26. This data can be refreshed from the data that is in the database by going to the data tab and clicking ‘Refresh All’
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 513k
  • Answers 513k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer have you looked at url routing? ie $route['folder'] = "html";… May 16, 2026 at 6:03 pm
  • Editorial Team
    Editorial Team added an answer You are close, try function getCreated() { return $this->created; }… May 16, 2026 at 6:03 pm
  • Editorial Team
    Editorial Team added an answer This is not possible in Android. Such a case is… May 16, 2026 at 6:03 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I am trying to create a record in the db that has a predefined
I have a list of record Id's that I want to retrieve from Sql
CREATE TABLE DIALOGUE_TABLE(EXPIRE_TIME TIMESTAMP); Following code snippet is inside stored proc : PO_EXPIRETIME :-
I have a SQL Server that houses Several Databases. I have a Main Database
I'm building an MVC 2 app and using linq to sql with stored procs.
I'm having a never-ending problem with trying to call a stored procedure from a
I have a Pl/Sql procedure signature that look like this foo(param1 IN type1, param2
I have two stored procedures that I want execute wrapped in a transaction. For
An INSERT on a table triggers a stored proc where the following error occurs.
I'm having issues when trying to call a MySQL (5.0.77) stored procedure with parameters,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.