url

  1. J

    How can I pass a number with leading zero's as a parameter in PQ?

    Hi, I've looked all over for a solution to this but nothing. I'm trying to pass a number as a parameter into a URL, keeping the leading zero's. Example: 000129832 When I enter this it gets passed as 129832 which doesn't work in the URL I have this: let SR=(ACNUM)=> let Source...
  2. Sharid

    Help update this Google search code

    Hi For the first part my code works fine, it does what it is meant to do. 1) I place a search item in Sheet2 Cell A1 e.g. "Laptops" and it opens Google and extracts all the url for laptops 2) It paginates to the next page, for which I have set to 5 pages, so URL from all 5 pages are...
  3. Sharid

    Ebay vba url issue

    I have a vba code that extracts ebay product details the code works fine if i am using a direct url in the code Original Code for search, but only searches 1 item .Navigate2 "https://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=jackets&_sacat=0" This variation of the...
  4. Sharid

    Need to start code from a certain point

    Hi In my workbook I have two sheets Sheet1 = "Scraper" Sheet2 = "Url List" In Sheet 2 Column "A" Row 2 I have a list of URLs, every time one has been processed my code place a NUMBER "1" in column B next blank row. The number "1" have two purposes, one as a counter and two to indicate that...
  5. Sharid

    Email Extracting

    My code extracts emails from a website, this bit is fine It can also extract URLs from a site, the PROBLEM is that it extracts all LINKS and not just the domain name Also I can only extract one or the other, either emails on their own or Links, when what I want is for it to be something like...
  6. S

    VBA code to add URL from excel cell into Outlook email line.

    Hi Experts, I need help on modified a VBA code below Sub Mail_small_Text_Outlook() Dim xOutApp As Object Dim xOutMail As Object Dim xMailBody As String Set xOutApp = CreateObject("Outlook.Application") Set xOutMail = xOutApp.CreateItem(0) xMailBody = "Dear All" &...
  7. Seba Robles

    [VBA] Runtime Error 3004 - Write to file failed

    Hello, so I have a code to download a google sheet as excel to my computer. I'm getting the following error in my code and can't figure out what's wrong: (line highlighted in red) Sub ImportGoogleSheet() Dim URL, Location, FileName As String Dim objWeb, objWrite As Object URL = "Google...
  8. Sharid

    Skip urls with captcha

    I have a list of URLs on sheet2 "Url List" when my code runs it works it way through these URLs and the extracted date is placed in sheet1. Is there a way of skipping Urls with captcha? e.g. it times out and moves to next url if no data is extracted with X amount of secconds If this is...
  9. B

    VBA data scrape with password protected sites

    I am working with the newest version of Excel / Office 2019 and am uncertain how to get an older workbook with VBA designed to pull multiple worksheets of data from a password protected site online. In the past, I was able to go to Data>From Web>enter URL and sign in>close window>run Macros>and...
  10. Sharid

    Match Emails to URLs

    I have a list of emails, I need to link them to the correct URLs. Problem is there are too many to do manual. I was hoping for some vba code that would MATCH part of the string in the EMAIL to that of the URL and place it in the next column/s Example Sheet1 column A has all the urls <tbody>...
  11. P

    QueryTable, working on First query...but source data is affected on 2nd, 3rd query

    Hi all, Been searching for hours into the wee morning about this but to no avail. I'm running a QueryTable (first time using this) to scrape some csv info from a webpage...then I format/clean the scraped data. This works on the first time, but not on the second/third/fourth, etc time. By...
  12. B

    External data from dynamic URL?

    Hi everyone! I've been trying to establish a data connection to an online JSON file. This seems to work just fine, but part of the URL is a date, like so: https://www.sampleurl.com/api/file.json?id=25&start=2019-01-01&limit=2500 I'd like to be able to have that date automatically be today's...
  13. P

    Auto Update Macro when duplicating worksheet

    I have a macro on Sheet1(Sheet1.OpenCreative) assigned to an object that is referencing a cell with a dynamic hyperlink. When I duplicate this sheet, i would like the macro in sheet 2 to automatically change to Sheet2.OpenCreative. Is this possible? Macro code below: Sub OpenCreative() URL =...
  14. S

    VBA to add vba

    So I have a wonderful piece of code that someone helped me put together. It downloads a file from a website (just a pdf from a cell-specified URL) and then time stamps it (so you can quickly download again for updates). It references cell A1 for the URL... and I have 5 pieces that download...
  15. E

    Extract numbers from cell after 5th / character

    Hi All, Hope some of you clever folk can help me. I wanted to extract the number in the following URL, it is after the fifth "/", and before the "?": <colgroup><col width="87" style="width: 65pt;"></colgroup><tbody>...
  16. Nayasoch

    How to extract video id from url

    Hello EVeryone, I was wondering if there is anyway or Formula to extract Video id from youtube url . For example below is url https://www.youtube.com/watch?v=Hc7BjYmn9z0 and video id is Hc7BjYmn9z0 Is there any formula that I can use? Thanks in advance.
  17. A

    feeding url from activeCell doesn't work

    Hi, i'm trying to write simple script to check webpage status. And i have a problem with feeding url address from active cell. Public Function GetServerResponse(url As String) As Integer On Error Resume Next With CreateObject("WinHttp.WinHttpRequest.5.1") .Open "GET", url...
  18. B

    Vba subscript out of range

    Hello everyone, I try to figure out how to get a value (id) from a website url. I've created a table with 2 columns, name and id. I've filled the name column (95 rows) and try to get the id from the website url. The code below does function (i'm sure it could be done better, but i don't have...
  19. D

    VBA Google Maps to return the URL of the final Loaded Page

    Hi, Can anyone please help? I have the following code and I am looking to Google Maps to return the url of the final page. At present it is only returning the intitial load up url. Below is my simple code so far, Sub GotoAddress() Dim IE As New InternetExplorer IE.Visible = True...
  20. O

    Inserting an image from google maps based on a URL in a cell

    Hi, I have data from a data base that I export into excel and paste into an excel spreadsheet which formats the data to look presentable. The data has a google maps location URL column and I would like to write some VBA based on the cells with the URL to insert a satellite image of this...

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