Microsoft Office

Microsoft Office Questions? Ask a IT Expert for Support ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Microsoft Office

I want to connect Microsoft excel to a webservice to

Customer Question
retrieve information based on a...
I want to connect Microsoft excel to a webservice to retrieve information based on a search term typed into a userform using vba. I would like the solution to work on excel 2010 and 2013. The webservice requires authentication in the form of a username and password. The source of the content is Training.gov.au. There is a sandbox environment to test out in and a sample app with source code. I have experience with vba and excel userforms
Submitted: 1 year ago.Category: Microsoft Office
Show More
Show Less
Ask Your Own Microsoft Office Question
Customer reply replied 1 year ago
https://data.gov.au/dataset/training-gov-au-web-service-access-to-sandbox-environment here is the link to the support details on connecting to the webservice
Answered in 3 hours by:
10/6/2016
Microsoft Office Technician: swmcdonnell, Microsoft Office Expert replied 1 year ago
swmcdonnell
swmcdonnell, Microsoft Office Expert
Category: Microsoft Office
Satisfied Customers: 292
Experience: Steve uses Office and trains others in how to use Word, Excel, PowerPoint and Access.
Verified

Hi, my name is***** took a look at the link you provided, but you didn't specify what you were trying to get from the Web service, so let me point you in the right direction, since you're familar with VBA.

The easiest way is to use the WinHttpRequest object. For example:

Sub getInfo()

Dim request As Object

Set request = CreateObject("WinHttp.WinHttpRequest.5.1")

request.Open "GET" "<theurl>" "<param1>" "<param2>"

request.send

answer = request.responseText

End Sub

Ask Your Own Microsoft Office Question
Customer reply replied 1 year ago
Hi Steve,I believe I did specify what I wanted to get from the web service. I need a userform with a text field that when you enter in a course code and press a command button you get a listbox that is populated with all the units in that course.The webservice is provided from training.gov.au which is a website that contains Training courses and unit information that are contained and related to the courses.The webservice requires authentication in the form of a username and password.Here is code used to achieve authentication in C# ***** a simple console program."using ConsoleApplication2.TgaOrg;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
OrganisationServiceClient proxy = new OrganisationServiceClient("OrganisationServiceBasicHttpEndpoint");
if (proxy.ClientCredentials != null)
{
proxy.ClientCredentials.UserName.UserName = "WebService.Read";
proxy.ClientCredentials.UserName.Password = "Asdf098";
}
DateTime serverTime = proxy.GetServerTime();
Console.WriteLine(serverTime);
Console.WriteLine("Press any key to close");
Console.ReadKey();
}
}
}
"
Microsoft Office Technician: swmcdonnell, Microsoft Office Expert replied 1 year ago

Hi there. Thanks for being more specific -- that's very helpful. (what you said previously is " want to connect Microsoft excel to a webservice to retrieve information based on a search term typed into a userform using vba." )

I guess I'm not sure what you want me to do or why you posted C# ***** here, when I thought you were doing it in Visual Basic? I provided some VB code for you to use to call the Web service. Did I miss something? Sorry if I did or am not understanding you well.

Ask Your Own Microsoft Office Question
Customer reply replied 1 year ago
I too am sorry that you are not understanding me well. Thanks anyway! The sample video that comes with the tga pack which is available via the link sent shows a method of accessing the authentication via c# ***** the form of a console application. I want to apply this but in vba via an excel userform with the further requirements as outlined. Let me know if you can help.
Microsoft Office Technician: swmcdonnell, Microsoft Office Expert replied 1 year ago

OK, I'll opt out and see if someone else can help you.

Ask Your Own Microsoft Office Question
Ask swmcdonnell Your Own Question
swmcdonnell
swmcdonnell
swmcdonnell, Microsoft Office Expert
Category: Microsoft Office
Satisfied Customers: 292
292 Satisfied Customers
Experience: Steve uses Office and trains others in how to use Word, Excel, PowerPoint and Access.

swmcdonnell is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

jstinehelfer

jstinehelfer

Information Systems Manager

36 satisfied customers

A+ Comptia Certified computer repair

JasonJames122

JasonJames122

Computer Enthusiast

0 satisfied customers

I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

Jess M.

Jess M.

Computer Support Specialist

701 satisfied customers

Computer Software Specialist for more than 10 years

The-PC-Guy

The-PC-Guy

Computer Manager

588 satisfied customers

20 years experience providing remote computer support

James K.

James K.

Consultant

260 satisfied customers

Technical Director of IT Company

IT Miro

IT Miro

Computer Scientist

157 satisfied customers

Bachelor's Degree in Information Technology, Microsoft Certified Professional

Chris L.

Chris L.

Support Specialist

147 satisfied customers

Certified Expert with over 10 years experience.

< Previous | Next >

Related Microsoft Office Questions
Do not close, not a duplicate ticket) I have the bought the
Do not close, not a duplicate ticket) I have the bought the product and have a product key for office 2016 in English, but have problems installing the package. SONY VAIO - Windows 10… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I have a subscription for Microsoft Office 365. One of my
I have a subscription for Microsoft Office 365. One of my shared individuals has had some computer issues and has lost the use of this program Can you help me get his unit up and running on Office 365… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
My outlook is now blocked with an upgrade screen. Never.
cannot get past the upgrade notice to go back to normal… read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
433 satisfied customers
My computer shut down and a message popped up telling me to
My computer shut down and a message popped up telling me to go to "accountlive.com to resolve the problem. … read more
Kris R
Kris R
IT Manager
Computing
2,596 satisfied customers
Recently, my Word documents started converting to .pdf
Hi. Recently, my Word documents started converting to .pdf automatically upon saving them. How do I stop that and retain them in a Word format upon saving? Thanks for your help. … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
433 satisfied customers
Can't log in to Skype.? Responded to all prompts. U can't
can't log in to Skype JA: When did you last update Skype? Customer: ? JA: What have you tried so far with your Skype? Customer: responded to all prompts JA: Anything else you want the Software Expert … read more
John
John
System/Network administrator
High School or GED
2,059 satisfied customers
I can't get into my open office. What do you mean by
I can't get into my open office JA: What application are you using? Customer: What do you mean by application? JA: Which software or app can I help with? Customer: open office JA: Anything else you wa… read more
Bryan
Bryan
IT Consultant
8,751 satisfied customers
I am using Dragon naturally speak with word 2016. It has
I am using Dragon naturally speak with word 2016. It has worked before, but not it has stopped. I can go to options>Add-Ins>Go and select Dragon with a check. If I close Word, and then open agai… read more
Bryan
Bryan
IT Consultant
8,751 satisfied customers
I'm trying to update my payment info for Netflix! It goes
I'm trying to update my payment info for Netflix! It goes through iTunes and I'm unable to update… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
IT WONT RENEW MY OFFIC ACCOUNT. TOSHIBA WINDOWS 10. TODAY IT
TODAY IT SAID MY OFFICE 365 ACCOUNT HAD NOT BEEN RENEWES … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
433 satisfied customers
I am using Microsoft Word for Mac, version 15.40. I am using
I am using Microsoft Word for Mac, version 15.40. I am using a MacBook Pro, version 10.13. My question concerns a problem I have when I am typing a document. About every 10 minutes I receive a notice … read more
John Lohr
John Lohr
Owner / Technology Specialist
Teaching Certification
494 satisfied customers
I brought over one gmail email account to Outlook. Can't
Hello Pearl... I brought over one gmail email account to Outlook. Can't transfer over my 2nd gmail email account. Please help! I've been trying for 2 days. Followed all the tutorials. … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I need this formula in excel. IF A VALUE IS THEN 0-3 months
I need this formula in excel.IF A VALUE IS THEN 0-3 months then 0 3-12 months then 8 12 to 60 months then 9.333 60 to 119 months then 13.333 120 plus 16.666 then… read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
701 satisfied customers
Cannot open excel 2016 on my new computer in excel, but only
cannot open excel 2016 on my new computer in excel, but only opens in XLS … read more
Richard
Richard
IT Manager
IT Manager, Consultant
3,273 satisfied customers
I have a subscription for Office 365 Personal. I had to wipe
I have a subscription for Office 365 Personal. I had to wipe my computer and it was not reloaded. How do I download again without paying again … read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
701 satisfied customers
It appears I need to reset my password. I have a office 365
it appears I need to reset my password. I have a office 365 a new product key. please call me at(###) ###-####… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
My Microsoft Word 2016 won't load "cant find exe file"
my Microsoft Word 2016 won't load "cant find exe file" prompt. Bought it in July 2017 with new computer … read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
701 satisfied customers
My mothers Vista based Dell was reset (?) and now needs a
My mothers Vista based Dell was reset (?) and now needs a password. She does not ever remember having to use a password ***** the past, so we have no written log of every using one. Need to boot up an… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x