ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ActiveWorkbook.FollowHyperlink strURL (https://www.excelbanter.com/excel-programming/438943-activeworkbook-followhyperlink-strurl.html)

David

ActiveWorkbook.FollowHyperlink strURL
 
Hello Group,

ActiveWorkbook.FollowHyperlink strURL, opens another workbook, does anyone
know how I can change it so that the data is put into the same workbook on a
designated worksheet?

Thanks,
David

Dave Peterson

ActiveWorkbook.FollowHyperlink strURL
 
Record a macro when you open the file, copy the data, paste to where you want it
and close the workbook you just opened.



David wrote:

Hello Group,

ActiveWorkbook.FollowHyperlink strURL, opens another workbook, does anyone
know how I can change it so that the data is put into the same workbook on a
designated worksheet?

Thanks,
David


--

Dave Peterson

David

ActiveWorkbook.FollowHyperlink strURL
 
Hi Dave,

A file is opened when the line executes and the data goes there. This is
already happening in code. I am just hoping that I can direct the out put to
the open already existing file(the file that is executing the code) and it
would be nice to be able to direct it to a specific existing worksheet.

Thank you,
David

"Dave Peterson" wrote:

Record a macro when you open the file, copy the data, paste to where you want it
and close the workbook you just opened.



David wrote:

Hello Group,

ActiveWorkbook.FollowHyperlink strURL, opens another workbook, does anyone
know how I can change it so that the data is put into the same workbook on a
designated worksheet?

Thanks,
David


--

Dave Peterson
.


Dave Peterson

ActiveWorkbook.FollowHyperlink strURL
 
Replace the .followhyperlink code with the recorded code. You'll have more
control over what to do with it after it opens.

David wrote:

Hi Dave,

A file is opened when the line executes and the data goes there. This is
already happening in code. I am just hoping that I can direct the out put to
the open already existing file(the file that is executing the code) and it
would be nice to be able to direct it to a specific existing worksheet.

Thank you,
David

"Dave Peterson" wrote:

Record a macro when you open the file, copy the data, paste to where you want it
and close the workbook you just opened.



David wrote:

Hello Group,

ActiveWorkbook.FollowHyperlink strURL, opens another workbook, does anyone
know how I can change it so that the data is put into the same workbook on a
designated worksheet?

Thanks,
David


--

Dave Peterson
.


--

Dave Peterson

David

ActiveWorkbook.FollowHyperlink strURL
 
I guess there is not a way to direct it, like I was looking for.

Thanks,
David

"Dave Peterson" wrote:

Replace the .followhyperlink code with the recorded code. You'll have more
control over what to do with it after it opens.

David wrote:

Hi Dave,

A file is opened when the line executes and the data goes there. This is
already happening in code. I am just hoping that I can direct the out put to
the open already existing file(the file that is executing the code) and it
would be nice to be able to direct it to a specific existing worksheet.

Thank you,
David

"Dave Peterson" wrote:

Record a macro when you open the file, copy the data, paste to where you want it
and close the workbook you just opened.



David wrote:

Hello Group,

ActiveWorkbook.FollowHyperlink strURL, opens another workbook, does anyone
know how I can change it so that the data is put into the same workbook on a
designated worksheet?

Thanks,
David

--

Dave Peterson
.


--

Dave Peterson
.



All times are GMT +1. The time now is 07:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com