Hey Devendra,

Excel has option in Data tab and "From Web" option to import the data from 
websites,I Tried and found that this Case doesn't work if your sheet 
contains a lot of data and to fetch it will take a lot of time, Instead of 
this what i think is to Download the file first and then use vba to check 
the latest file in your downloads and copy the data into your sheets which 
will be much faster that fetching from spreadsheet and then discard the 
temp sheet. Here the problem comes with automation is you have to work with 
internet explorer to do the same rather than using a GoogleChrome. 
I thoroughly studied to find the shortcut to download a file with Send keys 
it should be like sendkeys "%+FD{Enter}",Once the file will get downloaded 
it is easy to do the rest of work with VBA. Let's see who will implement 
this successfully.

Paul@ can you do one thing to send the keys combination to internet 
explorer.

Sub Fetch_Data_from_Spreadsheet()

Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
    ie.navigate 
"https://docs.google.com/spreadsheets/d/1z1W_cnkiMsQjgHmuoolxrXgm9h54NC0CQiHqtb8KNZk/edit?ts=5607ad6d#gid=0";
    ie.Visible = True

Application.SendKeys "%+FD{Enter}", True
    
End Sub

Regards,
Mandeep baluja 
 

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to