parse

  1. K

    VBA reading in text file and parsing by line breaks (carriage returns)

    Hi guys, I am a little stuck here. I am trying to read in a text file and parse it by line breaks however I cannot read the content of the parsed line breaks, it just shows up as 'Empty' when I watch them. Option Explicit Sub ParseText() Dim myFile As String, text As String, textline As...
  2. B

    Loop through text file

    I have a macro that reads through a text file pasted into a spreadsheet and extracts certain fields into another tab. The method I had been using was to actually split the text into two columns and set up data filters and filtered on certain fields and then copied that data to the other tab...
  3. K

    Parse JSON with VBA

    Hi everybody, I would like to parse a json string in VBA using this library : VB JSON Parser Library for VB6 (BSD Licensed) - Visual Basic, JSON here is an example of the json string I receive from a Web Service and want to parse: { "total": [[10000,1]], "periods": [1399852800000]...
  4. S

    Need to parse out a portion of a URL query string

    I have a few hundred URLs that include campaign ID strings within them. I need a way to separate out the specific IDs from each URL. All of the campaign IDs are preceded by "?cid=" and they all follow a pattern of having seven sets of characters, each separated by a dash (e.g...
  5. C

    Extract file contents to excel

    I have large number of sql files in various folders in my windows7 laptop. I have extracted the file names with full path in column A in an excel work book. For each row, I now need to parse the file and extract the file contents and put it in column B, for the respective row. I want the entire...
  6. P

    Remove extra words in string based on the words in the string

    I regularly import CSV file data into an excel template. One of the columns in the template contains a material name. The material values are in the following format: "3/4 Int White Oak/Maple Mel" "3/4 Ext White Oak/Maple Mel" "Door/Drawer White Oak/Maple Mel" I want to reword them as...
  7. M

    msxmlhttp and post paramaters

    Good evening, Following a suggestion on another thread, i've been using vba with ie document to parse javascript form results Dim IE As InternetExplorer Sub Update_Price() Application.ScreenUpdating = False Set IE = New InternetExplorer Set rng = ActiveCell...
  8. D

    Parse Adress into seperate columns

    Can someone be so kind to help me with building a macro for my issue I am trying to split address elements in separate columns some of the addresses have zip codes some do not some have country name some do not below is the format of the data that I have I would like to separate it into address...
  9. B

    Need help parsing ALT+ENTER entries from a single cell in MS Excel 2010

    Greetings,<o:p></o:p> <o:p> </o:p> I'm exporting data from a Rational database application into an Excel 2010 spreadsheet. I need to parse the data in a way that will group the data by object ID (XX-YY-25xx). <o:p></o:p> <o:p> </o:p> https://www.box.com/s/vgq2hk2bq24ik7jjck9w<o:p></o:p> <o:p>...
  10. Cyclone

    PARSE JSON with excel

    Hey, I have successfully parsed a few strings by following the very helpfuls posts in this forum. These one are all working well. My data looks a bit different than in the threads here so I would like some input from you if possible. I have imported the "JSON.bas", "cJSONScript.cls" and...
  11. K

    VBA Parsing for values from a list of websites

    I'd like to refer to this post for a better understanding of what I'm trying to do http://www.mrexcel.com/forum/excel-questions/613012-visual-basic-applications-parsing-webpage-specific-value-between-tags.html I need help trying to extract specific values between tags from a list of websites...
  12. E

    Search - Vlookup - Find - Parse?????

    I have an excel report with a lot of open but somewhat formatted text. I want to extract specific pieces. Below is the content (came out of a ticketing system). I want to parse out certain values. Ie. I would like the host=rbbserver, the Event ID: 4741 , and the Object= Balancer to all be...
  13. S

    Counting & Summing across select multiple worksheets

    I'm trying to figure out some approximate space requirements on a disc based on output from some Powershell scripts whose output data I have imported into Excel. The file structure is similar to this: z:\MyData\MyFolder\X1 z:\MyData\MyFolder\X2 z:\MyData\MyFolder\Images z:\MyData\YourFolder\A1...
  14. S

    Nth character in a string - parsing a shortcut

    I have an Excel sheet with lots of shortcuts in the first column. It's the entire shortcut, including the .lnk extension. What I need to do is to be able to parse out the string to make the shortcut human readable when I create the hyperlink. I'm saving the output as HTML for a user to open...
  15. B

    Need help parsing multiple entries from a single cell

    Greetings, I'm exporting data from a Rational database application into an Excel 2010 spreadsheet. I then create a pivot table to display the data as shown in the Data Source example (row 4) shown below. In cells D4 thru F4, I have a single row with multiple entries that are separately by what...
  16. S

    parse data separately in cells with vbNewLine

    Hi I need to extract data from an excel file (using VBA) to another file. However, the data is stored in one cell with a line break to separate each item. I need to be able to read each string within the cell so that I can extract the mobile numbers (starting with 06 or 07). For the first...
  17. B

    Help finding all Tabs in a workbook with certian value in the name to then export to a new book

    Although I reference this forum alot I have never posted here before & I am a fairly rusty MACRO user I have an urgent need to take a workbook full of tabs about 70 so far (each tab represents the sales for a particular sales agent) I have to have a macro to export each tab to its own book in...
  18. S

    VBA excel find value from HTML inside javascript element to open new ie window

    I have a webpage with an agravating amount of javascript within the HTML code. I can view the source and find the objectID=xxxxx.xxxxx.xxxxx.xxxxx value that i need to use. I want to use the value to open a final webpage directly. I am doing this to avoid opening several pages with sendkeys. I...
  19. S

    VBA excel find value from HTML inside javascript element to open new ie window

    I have a webpage with an agravating amount of javascript within the HTML code. I can view the source and find the objectID=xxxxx.xxxxx.xxxxx.xxxxx value that i need to use. I want to use the value to open a final webpage directly. I am doing this to avoid opening several pages with sendkeys. I...
  20. K

    Scrape/parse webpages in VBA, looking for certain values inside tags and store inside a column

    I have xls file, with many phonenumbers in column A. Can be different amount, so a loop is needed. <tbody> 08100100 08199999 08199919 </tbody> Those together with the string: http://personer.eniro.se/resultat/ will find a web page. Eg...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top