This line of code :

Worksheets("Questions").Range("B2").Value = Worksheets
("Data").Range("B" + Ion1).Value

In Visual Basic in an Excel workbook is throwing up:

Run-time error '1004'
Application-defined or object-defined error

Why?

Re: Error 1004? by Jonathan

Jonathan
Wed Sep 17 11:42:52 CDT 2003

Hi Thomas,

This group deals with VBA in Word. The experts on Excel VBA programming can
be found at microsoft.public.excel.programming. You will be more likely to
get an informed answer if you re-post your question there.

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com

"Thomas Wotten" <chiralutd@yaho.co.uk> wrote in message
news:00bf01c37d2c$07829fe0$a101280a@phx.gbl...
> This line of code :
>
> Worksheets("Questions").Range("B2").Value = Worksheets
> ("Data").Range("B" + Ion1).Value
>
> In Visual Basic in an Excel workbook is throwing up:
>
> Run-time error '1004'
> Application-defined or object-defined error
>
> Why?