By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,971 Members | 907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,971 IT Pros & Developers. It's quick & easy.

Excel

P: n/a
Hello,

I'd like to insert a jpg file in an excel sheet
Can you help me please in that?

Hayman
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Cor
Are you sure this is an Visual Basic Studio Net Language Question?
Nov 20 '05 #2

P: n/a
Yes, I'm trying to do that using visual basic, otherwise I would have sent
it to somewhere else.

"Cor" <no*@non.com> wrote in message
news:3f***********************@reader21.wxs.nl...
Are you sure this is an Visual Basic Studio Net Language Question?

Nov 20 '05 #3

P: n/a
Hello,

"Hayman" <ha****@boozallen.com> schrieb:
Yes, I'm trying to do that using visual basic, otherwise I would have sent
it to somewhere else.


I would ask this question in the Excel ng -- if you have a solution in VBA,
it's easier to translate it to VB .NET:

news://news.microsoft.com/microsoft....el.programming

HTH,
Herfried K. Wagner
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #4

P: n/a
I know how to do it in VBA but I couldn't do it in VB.NET
To insert a jpg in an excel sheet you have to write this line:
ActiveSheet.Pictures.Insert ( "C:\My Pictures\Winter.jpg")

I don't know how to convert it to VB.NET, can I get help please
Thank you
Hayman

"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Hello,

"Hayman" <ha****@boozallen.com> schrieb:
Yes, I'm trying to do that using visual basic, otherwise I would have sent it to somewhere else.
I would ask this question in the Excel ng -- if you have a solution in

VBA, it's easier to translate it to VB .NET:

news://news.microsoft.com/microsoft....el.programming

HTH,
Herfried K. Wagner
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet

Nov 20 '05 #5

P: n/a
Hello,

"Hayman" <ha****@boozallen.com> schrieb:
I know how to do it in VBA but I couldn't do it in VB.NET
To insert a jpg in an excel sheet you have to write this line:
ActiveSheet.Pictures.Insert ( "C:\My Pictures\Winter.jpg")


I think this article will help you understanding how to automate Excel:

HOWTO: Automate Microsoft Excel from Visual Basic .NET
http://support.microsoft.com/default...b;en-us;301982

HTH,
Herfried K. Wagner
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.