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 8112871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:39:07+00:00 2026-06-06T02:39:07+00:00

I have a C# feeder that generates some data and sends them to some

  • 0

I have a C# feeder that generates some data and sends them to some sort of frontend. Is there a direct way in which I can receive these data using excel microsoft office ?
P.S. I do not want to write a code that recieves the data and then writes it into excel sheet. I want to be able to directly get the data from excel itself, as a frontend for my C# backend. Is that ever possible ?!

  • 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-06-06T02:39:08+00:00Added an answer on June 6, 2026 at 2:39 am

    I did a quick dr. Google search for WebService calls from Excel and found the following article

    Option Explicit
    ' Excel VBA Function wrapper to call currency conversion Web Service on the web!
    Public Function ccyConvert(rsCurrIn As String, rsCurrOut As String, 
                               ByVal vfAmtIn As Single) As Single
        Dim objSClient As MSSOAPLib30.SoapClient30      
       ' Remove the 30 if using an earlier version of SOAP
        Dim fResult As Single
    
        ' Point the SOAP API to the web service that we want to call...
        Set objSClient = New SoapClient30
        Call objSClient.mssoapinit(
                  par_WSDLFile:="http://webcontinuum.net/webservices/ccydemo.wsdl") 
    
        ' Call the web service 
        fResult = objSClient.calcExcRate(rsCurrIn, rsCurrOut, vfAmtIn)
        Set objSClient = Nothing
    
        ccyConvert = fResult 
    End Function
    

    As Excel has the possibility to access data (from different dataSources) it may be a proper solution to create a c# WebService which delivers the requested data.

    Pls note that this is not my code – it’s just a copy from the mentioned article – so credit goes to the author!

    I just thought about another solution. You may consider making your own C# com component. Within any excel VBA code you are now able to call any method within your assembly. Once again mr. google found an article describing how to achieve this!

    c# code for your own com component

    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Runtime.InteropServices;
    
    namespace DotNetLibrary
    {
      [ClassInterface(ClassInterfaceType.AutoDual)]
      public class DotNetClass
      {
        public DotNetClass()
        {
        }
        public string DotNetMethod(string input)
        {
            return "Hello " + input;
        }
      }
    }
    

    VBA code within an excel macro

    Private Sub TestDotNetCall()
        Dim testClass As New DotNetClass
        ' or do whatever you want with return value
        MsgBox testClass.DotNetMethod(“World”)
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have table AuditLog with fields including: audited_id | audited_type That results in data
I have the following SQLCommand which should do an Update. The issue is, that
Have one Doubt In MVC Architecture we can able to pass data from Controller
Have some dates in my local Oracle 11g database that are in this format:
Have an app that can use tts to read text messages. It can also
I have a situation that I would normally solve by creating a feeder table
I have an application in JavaME that can display the feed from viewfinder using
I'm developing a feeder application, and i have the option that let the user
I have a list that I would like to sort in multiple ways. My
I have an SQL database, which is a feeder table. I put records in

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.