Born2dive00
New Member
- Joined
- Nov 15, 2019
- Messages
- 4
Hello everyone I would like to thank you all in advance for your kind help, I have a good working knowledge of excel, BUT I am rather new to VBA and I could really use some of your help.
So I was able to create a simple formula that looked at cells Sheet2 A8 and B8 to create a hyperlink in C8, using this formula. =IF(OR(A8,(B8)=" "),(""),HYPERLINK(B8,A8))
This does exactly what I want it to do by creating a hyperlink, simple enough.
Now using this VBA Code I was able to put the result C8 (my newly created hyperlink) into Sheet1 A1, all good so far, I got the text without a code in A1 (it is imperative that A1 is free from typed formulas, as it will go into a table, and the formula will cause a mismatch).
HOWEVER it put the value in A1 as a text, and lost the newly generated hyperlink.
How can I preserve the fidelity of the generated Hyperlink (NOT the code, only the hyperlink!) with the VBA code???
Thank you all for your help
So I was able to create a simple formula that looked at cells Sheet2 A8 and B8 to create a hyperlink in C8, using this formula. =IF(OR(A8,(B8)=" "),(""),HYPERLINK(B8,A8))
This does exactly what I want it to do by creating a hyperlink, simple enough.
Now using this VBA Code I was able to put the result C8 (my newly created hyperlink) into Sheet1 A1, all good so far, I got the text without a code in A1 (it is imperative that A1 is free from typed formulas, as it will go into a table, and the formula will cause a mismatch).
HOWEVER it put the value in A1 as a text, and lost the newly generated hyperlink.
How can I preserve the fidelity of the generated Hyperlink (NOT the code, only the hyperlink!) with the VBA code???
Thank you all for your help