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

Copying a picture from excel to Access

P: n/a
What I would like to do is automate the manual process of copying an
image from an excel spreadsheet to the clipboard, and pasting it into
an access table with an OLE Object field.

I want to do something like

rsExcelImport.MoveFirst
For Each pic In MySheet.Shapes
pic.Copy
'Paste to current record
rsExcelImport.MoveNext
Next pic

Any advice on how I can accomplish this?
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
wi****@operamail.com (wisaac) wrote in message news:<db**************************@posting.google. com>...
What I would like to do is automate the manual process of copying an
image from an excel spreadsheet to the clipboard, and pasting it into
an access table with an OLE Object field.

I want to do something like

rsExcelImport.MoveFirst
For Each pic In MySheet.Shapes
pic.Copy
'Paste to current record
rsExcelImport.MoveNext
Next pic

Any advice on how I can accomplish this?


I'm not having much luck with this so far. I have an excel
spreadsheet with several pictures in it. I want to copy these
pictures to an MS Access table with an OLE Object field. If I can
copy and paste it in with a VBA script, that would be ideal, but if
there's another way to do it, please let me know.
Nov 12 '05 #2

P: n/a
wi****@operamail.com (wisaac) wrote in message news:<db**************************@posting.google. com>...
What I would like to do is automate the manual process of copying an
image from an excel spreadsheet to the clipboard, and pasting it into
an access table with an OLE Object field.

I want to do something like

rsExcelImport.MoveFirst
For Each pic In MySheet.Shapes
pic.Copy
'Paste to current record
rsExcelImport.MoveNext
Next pic

Any advice on how I can accomplish this?


I'm not having much luck with this so far. I have an excel
spreadsheet with several pictures in it. I want to copy these
pictures to an MS Access table with an OLE Object field. If I can
copy and paste it in with a VBA script, that would be ideal, but if
there's another way to do it, please let me know.
Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.