Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Export to excel from Web page

Featured Replies

Hi all,

I have a web page contains filtered result in a table format(1 of 265 Miltiple pages).

The web page has 'export to excel' option to export the entire table to excel file.

When i click 'export to excel' it will start downloading the excel file, for that i need to give the location ( As usual how we downlaod any file from website).

Can any one clarify me how to do this usig VBA Macro?

Thanks in Advance.

Regards

Velmurugan K

The button where you clink on is possibly just a hyperlink. When you know the hyperlink, you could use an XmlHTTPObject to download the file.

I can't program in VBA (ridiculous syntax), but in javascript it could be somthing like this:

xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open( "GET", "http://full.url.to/excel.document", false );
xmlhttp.send();

fso = new ActiveXObject("Scripting.FileSystemObject");
file = fso.CreateTextFile("C:\\Path\\To\\Desired\\excel.document");
file.Write(xmlhttp.responseText);

I didn't test it. I think it only works when the excel sheet is actually a csv file.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.