zakthemaster
New Member
- Joined
- Jul 6, 2010
- Messages
- 2
Function Link(gccode)
Link = (URL Begining) & VBAProject.Module1.Gcid(gccode)
End Function
Function Gcloglink(gccode)
Gcloglink = Application.WorksheetFunction.Hyperlink(VBAProject.Module1.Link(gccode), "Log GC" & UCase(gccode))
End Function
Here is the end part of my code.
My code only has functions being made
the first function works.
The second function results in "#VALUE!" when i type it into a cell.
I want it where when I type "=Gcloglink(A1)" into a cell it will give me the same results as when I type "=HYPERLINK(Link(A1),"Log GC"&UPPER(A1)) into a cell (including the ability to click on the cell and be taken to the webpage.)
Link = (URL Begining) & VBAProject.Module1.Gcid(gccode)
End Function
Function Gcloglink(gccode)
Gcloglink = Application.WorksheetFunction.Hyperlink(VBAProject.Module1.Link(gccode), "Log GC" & UCase(gccode))
End Function
Here is the end part of my code.
My code only has functions being made
the first function works.
The second function results in "#VALUE!" when i type it into a cell.
I want it where when I type "=Gcloglink(A1)" into a cell it will give me the same results as when I type "=HYPERLINK(Link(A1),"Log GC"&UPPER(A1)) into a cell (including the ability to click on the cell and be taken to the webpage.)