I have two buttons on a form. One copies the Social Security Number and strips out the "-" then opens the IRS Refund Status website.
The second does the same thing but (is supposed to) open the NYS Refund Status site. (The urls both work if c/p into a browser).
The NYS one gives me an error:
Run-time Error: '8'
Cannot Download the Information You Requested
These are the two items:
Any idea why the GoIRS works and the GoNYS doesn't. It did work at one time.
The second does the same thing but (is supposed to) open the NYS Refund Status site. (The urls both work if c/p into a browser).
The NYS one gives me an error:
Run-time Error: '8'
Cannot Download the Information You Requested
These are the two items:
Code:
Private Sub GoNYS_Click()
Me!Social.SetFocus
Me!SS3 = Replace(Social, "-", "")
Me!SS3.SetFocus
DoCmd.RunCommand acCmdCopy
Me!Social.SetFocus
FollowHyperlink "https://www8.tax.ny.gov/PRIS/prisStart"
End Sub
Code:
Private Sub GoIRS_Click()
Me!Social.SetFocus
Me!SS3 = Replace(Social, "-", "")
Me!SS3.SetFocus
DoCmd.RunCommand acCmdCopy
Me!Social.SetFocus
FollowHyperlink "https://sa.www4.irs.gov/irfof/lang/en/irfofgetstatus.jsp"
End Sub
Any idea why the GoIRS works and the GoNYS doesn't. It did work at one time.