Inserting an Image in an Excel sheet using VBScript.

  • Thread starter Thread starter Vishal
  • Start date Start date
V

Vishal

Hi..
I've to insert an image in excel sheet using VBSCript.
Can anyone please guide me ?

Vishal
 
Thanks Olive..
I tried that and it works perfect when i use this code in a vb macro.
The problem is that i want to use it in a Quick Test Pro script.. and
since it supports the VBScript, i thought that a normal VBScript code
wud work in it. But when i use this piece of code in my QTP script, it
gives an errror at the line
Range("B9").select - Type mismatch.
u've any clue ?

I think i'll post a new topic with the heading - Inserting an image in
an excel sheet using QTP !

Thanks
Vishal
 
If the script uses automation to control excel, you would naturally have to
prepend the appropriate qualifications to the elements of the code to direct
it to the proper object.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top