Link to home
Start Free TrialLog in
Avatar of Sanjay Gandhi
Sanjay GandhiFlag for India

asked on

Copy hyperlink VBA in Excel

I wish to copy the hyperlink from one excel file to another excel file where I am collecting all data of the same process. I need to do this using Excel VBA.
ASKER CERTIFIED SOLUTION
Avatar of Rodney Endriga
Rodney Endriga
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sanjay Gandhi

ASKER

Yes, it works to copy the link. But, following is the error message I get when I click on the link once the copy is made:

"Cannot open the specified file"

Need further solution.
Can you check to see if the location of the file exists? Make sure to see if the link is referring to the proper location.
The link works ok in the source location. I've checked, it works fine. But after copying it doesn't.
You can try to use the tips in this article:

http://support.microsoft.com/kb/211503
The location and address of files was ok. But there must have been some other clause causing a problem. However, the solution given by you is good.