excel

Sending JSON POST request in VBA

时光怂恿深爱的人放手 提交于 2021-02-08 03:40:41
问题 I have the following JSON POST sample code which I am trying to convert to VBA for Excel: POST /services/shipper/orders HTTP/1.1 Content-Type: application/json User-Agent: Mozilla 5.0 Host: qa.etowertech.com X-WallTech-Date: Tue, 06 Jan 2018 21:20:27 GMT Authorization: WallTech test5AdbzO5OEeOpvgAVXUFE0A:79db9e5OEeOpvgAVXUFWSD Here is the code I came up with: With JsonHTTP .Open "POST", "http://qa.towertech.com/services/shipper/orders", False .setRequestHeader "RequestName", "application/json

Sending JSON POST request in VBA

こ雲淡風輕ζ 提交于 2021-02-08 03:40:34
问题 I have the following JSON POST sample code which I am trying to convert to VBA for Excel: POST /services/shipper/orders HTTP/1.1 Content-Type: application/json User-Agent: Mozilla 5.0 Host: qa.etowertech.com X-WallTech-Date: Tue, 06 Jan 2018 21:20:27 GMT Authorization: WallTech test5AdbzO5OEeOpvgAVXUFE0A:79db9e5OEeOpvgAVXUFWSD Here is the code I came up with: With JsonHTTP .Open "POST", "http://qa.towertech.com/services/shipper/orders", False .setRequestHeader "RequestName", "application/json

Spacebar not working at end of the line in Excel VBA Editor

百般思念 提交于 2021-02-08 03:35:45
问题 I moved my personal.xlsb to my new laptop and I am having a strange issue. The spacebar is not working at the end of the line except it's a totally empty line. Example 1 : Not working example | Not working Example 2 : Working example | Would work When I was pressing the spacebar, the text select pointer didn't move, but the position indicator is blinking between the original position and (col+1). Pointer position indicator image 回答1: I had the same issue. I found if I turned off AutoSave, it

Category Overlap Analysis

不打扰是莪最后的温柔 提交于 2021-02-08 03:11:11
问题 I am trying to perform some category overlap analysis and need help. I have data made up of customer service tickets. The tickets are labeled with category data. Tickets can contain multiple category labels. I have a query that pulls ticket ids and categories. I get multiple rows for IDs with more than one category. I am looking for a way to show the category overlap, for example: how many tickets have category A, have A and B, B and C, etc.. I would like to be able to perform this in Excel

Category Overlap Analysis

十年热恋 提交于 2021-02-08 03:01:10
问题 I am trying to perform some category overlap analysis and need help. I have data made up of customer service tickets. The tickets are labeled with category data. Tickets can contain multiple category labels. I have a query that pulls ticket ids and categories. I get multiple rows for IDs with more than one category. I am looking for a way to show the category overlap, for example: how many tickets have category A, have A and B, B and C, etc.. I would like to be able to perform this in Excel

Category Overlap Analysis

佐手、 提交于 2021-02-08 03:01:01
问题 I am trying to perform some category overlap analysis and need help. I have data made up of customer service tickets. The tickets are labeled with category data. Tickets can contain multiple category labels. I have a query that pulls ticket ids and categories. I get multiple rows for IDs with more than one category. I am looking for a way to show the category overlap, for example: how many tickets have category A, have A and B, B and C, etc.. I would like to be able to perform this in Excel

runtime error 462 with internet explorer

↘锁芯ラ 提交于 2021-02-07 22:57:40
问题 I am trying to access a webpage from excel using VBA. I can get internet explorer to launch, and I see the webpage come up, but I get a runtime error 462 when I hit the Do Until internet.ReadyState >= 4 line of code. any ideas? ultimately I want to be able to parse a site and get a list of the links on that site and pick one, and then "click" on that link. suggestions and help would be great. here is the function (that I found on the web) that I am using: Public Sub clicklick() Dim internet

How to select from excel table with left join in access database - EXCEL VBA

一曲冷凌霜 提交于 2021-02-07 22:43:13
问题 i'm having difficult to create on query with two different database in ADO, i need to make a lot of queries with different sources, for example select from excel file with left join in access file. When i use two different excel files like the code below works fine. Dim SQL As String Dim CN As New ADODB.Connection Dim rs As New ADODB.Recordset Set CN = New ADODB.Connection Set rs = New ADODB.Recordset 'Open connection CN.Open "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=C:\ExcelTable

How to select from excel table with left join in access database - EXCEL VBA

有些话、适合烂在心里 提交于 2021-02-07 22:41:59
问题 i'm having difficult to create on query with two different database in ADO, i need to make a lot of queries with different sources, for example select from excel file with left join in access file. When i use two different excel files like the code below works fine. Dim SQL As String Dim CN As New ADODB.Connection Dim rs As New ADODB.Recordset Set CN = New ADODB.Connection Set rs = New ADODB.Recordset 'Open connection CN.Open "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=C:\ExcelTable

Wait until Excel finishes populating Bloomberg data using VBA

无人久伴 提交于 2021-02-07 20:30:52
问题 I have an Excel sheet with ~300,000 BDH formulas to download securities prices. I want to open the file and get all prices paste them as values save and close the file. However, I do not know when Excel finishes populating Bloomberg data, so it's difficult to determine the time to do 2) and 3). I have written VBA, but not sure if it works: In Module1 Sub CheckFormulas() If Application.CalculationState = xlDone Then With Worksheets("Sheet1").UsedRange .Value = .Value End With Else Application