Howdy folks,
Got an existing VBA app that runs an export to excel. Works perfectly fine in excel 2003, fortunately one of my testers has recently had Office 2007 installed and when testing, gets the 'Run-time error 1004, Unable to get the Characters property of the Textbox class.'
Do Until i > Len(txtBHEnvFactors.Text)
i = i + 200
oXls.Selection.Characters(i).Insert String:=Mid(txtBHEnvFactors.Text, i, 200)
Loop
The error occurs on the bolded line. Is this a reference thing or do I need to change some code. I've googled this guy and have drawn a blank.
TIA.
Got an existing VBA app that runs an export to excel. Works perfectly fine in excel 2003, fortunately one of my testers has recently had Office 2007 installed and when testing, gets the 'Run-time error 1004, Unable to get the Characters property of the Textbox class.'
Do Until i > Len(txtBHEnvFactors.Text)
i = i + 200
oXls.Selection.Characters(i).Insert String:=Mid(txtBHEnvFactors.Text, i, 200)
Loop
The error occurs on the bolded line. Is this a reference thing or do I need to change some code. I've googled this guy and have drawn a blank.
TIA.