Get file from android to pc Excel VBA

KlausW

Active Member
Joined
Sep 9, 2020
Messages
463
Office Version
  1. 2016
Platform
  1. Windows
Hi everyone

I am using this VBA code to download a file (It is an Excel file) from my Android mobile phone.
But I can't get it to download the file from this folder, "This PC\Don Wittus mobile\Internal storage\LagerDannebrog\" on Android mobile phone.
But it goes to this folder, "C:\Users\k-wit\Documents"

All help would be appreciated.
Best regards

Klaus W

VBA Code:
Sub Rektangelafrundedehjørner1_Klik()
Dim fPath As String
fPath = Sheet13.Range("C12").Value
Call Shell("explorer.exe " & fPath, vbNormalFocus)
End Sub
 

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