Hi,
I have used Hyperlink property for a button to open an excel file.
But even after opening the same the button's hyperlink property is not being reset. The code is as follows:
/*After data is inserted into a table, generateing a CSV from it, then opening the CSV. */
tableName:="Temp_Table", _
filename:=outputPath & filename, HasFieldNames:=-1
MsgBox "The File name is: " & filename & vbCrLf & _
"Please check under" & outputPath
Me.CommandBtn.HyperlinkAddress = path & filename
Even after this code gets executed, (and the file opens) if I move mouse cursor on the button, it is still showing as a Hyperlink.
Please help me how I can make the button to be shown as a normal button, once the CSV opens.
Thanks
RK Veluvali
I have used Hyperlink property for a button to open an excel file.
But even after opening the same the button's hyperlink property is not being reset. The code is as follows:
/*After data is inserted into a table, generateing a CSV from it, then opening the CSV. */
tableName:="Temp_Table", _
filename:=outputPath & filename, HasFieldNames:=-1
MsgBox "The File name is: " & filename & vbCrLf & _
"Please check under" & outputPath
Me.CommandBtn.HyperlinkAddress = path & filename
Even after this code gets executed, (and the file opens) if I move mouse cursor on the button, it is still showing as a Hyperlink.
Please help me how I can make the button to be shown as a normal button, once the CSV opens.
Thanks
RK Veluvali