Open a PDF from Excel with VBA in Google Chrome on a specific page
问题 I am creating a macro in Excel that should open a PDF document on a specified page with chrome. Generally, the opening part works. My problem is that when I add the page number (e.g. #page=15) to the url, the shell encodes the "#" symbol into "%23", which Chrome is not able to interpret correctly (file not found). Here is my code 'The path to the file, replaces spaces with the encoding "%20" Path = Replace((filePath& "#Page=" & iPageNum), " ", "%20") Dim wshShell, chromePath As String,