Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Cut and paste objects into userforms

Is there a way to cut and paste pictures/objects into a userform field such
that a user can paste in an external object (for example a chemical structure
or a screen capture) into the form.

The pasted item in the userform would then need to be be appended to the
spreadsheet at a chosen cell location and also pulled back to the userform
when the user edits the userform (for example changes the embedded picture).

I know how to do this with text (Contextures website) but would like to
learn how to do it with other objects.

Can anyone help?

Regards,

Roger
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Cut and paste objects into userforms

If you mean copy drawing objects onto a form, see Andy Pope's demo

http://andypope.info/vba/userformdraw.htm

Or for images you can load from file or other ways to an Image control

Regards,
Peter T


"Roger on Excel" wrote in message
...
Is there a way to cut and paste pictures/objects into a userform field
such
that a user can paste in an external object (for example a chemical
structure
or a screen capture) into the form.

The pasted item in the userform would then need to be be appended to the
spreadsheet at a chosen cell location and also pulled back to the userform
when the user edits the userform (for example changes the embedded
picture).

I know how to do this with text (Contextures website) but would like to
learn how to do it with other objects.

Can anyone help?

Regards,

Roger



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Cut and paste objects into userforms

Hi Peter,

Many thanks for posting your suggestion

I just read my post again and I dont think I described my problem very well.

I am not needing to be able to create a picture on the form, but find a
suitable control which allows a user of the form in the spreadsheet to paste
an image (or an image upload) which can be stored in the sheet and used in
the sheet.

For example I use the form for entering chemical data which is appended to a
list in the sheet. This is fine, but I would like to paste in a chemical
structure from a ChemDraw drawing package into a form when i enter data.

I am guessing there must be an upload tool for a file such as a jpg or bit
map, but I really prefer to be able to paste in the individual image for each
data entry.

I hope this explains better my requirements.

Regards,

Roger



"Peter T" wrote:

If you mean copy drawing objects onto a form, see Andy Pope's demo

http://andypope.info/vba/userformdraw.htm

Or for images you can load from file or other ways to an Image control

Regards,
Peter T


"Roger on Excel" wrote in message
...
Is there a way to cut and paste pictures/objects into a userform field
such
that a user can paste in an external object (for example a chemical
structure
or a screen capture) into the form.

The pasted item in the userform would then need to be be appended to the
spreadsheet at a chosen cell location and also pulled back to the userform
when the user edits the userform (for example changes the embedded
picture).

I know how to do this with text (Contextures website) but would like to
learn how to do it with other objects.

Can anyone help?

Regards,

Roger



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Cut and paste objects into userforms

Afraid I don't follow. You say "upload"; do you mean get/send an image from
a web site, or do you mean get an image from file and display on a sheet
(use Insert Picture method), or do you mean copied as an image from some
other app (manually or programmatically) and copied onto the sheet, or...?

Regards,
Peter

"Roger on Excel" wrote in message
...
Hi Peter,

Many thanks for posting your suggestion

I just read my post again and I dont think I described my problem very
well.

I am not needing to be able to create a picture on the form, but find a
suitable control which allows a user of the form in the spreadsheet to
paste
an image (or an image upload) which can be stored in the sheet and used in
the sheet.

For example I use the form for entering chemical data which is appended to
a
list in the sheet. This is fine, but I would like to paste in a chemical
structure from a ChemDraw drawing package into a form when i enter data.

I am guessing there must be an upload tool for a file such as a jpg or bit
map, but I really prefer to be able to paste in the individual image for
each
data entry.

I hope this explains better my requirements.

Regards,

Roger



"Peter T" wrote:

If you mean copy drawing objects onto a form, see Andy Pope's demo

http://andypope.info/vba/userformdraw.htm

Or for images you can load from file or other ways to an Image control

Regards,
Peter T


"Roger on Excel" wrote in
message
...
Is there a way to cut and paste pictures/objects into a userform field
such
that a user can paste in an external object (for example a chemical
structure
or a screen capture) into the form.

The pasted item in the userform would then need to be be appended to
the
spreadsheet at a chosen cell location and also pulled back to the
userform
when the user edits the userform (for example changes the embedded
picture).

I know how to do this with text (Contextures website) but would like to
learn how to do it with other objects.

Can anyone help?

Regards,

Roger



.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Cut and paste objects into userforms

Hi Peter,

I am making a spreadsheet which is to be driven by userforms as I do not
want users to paste pictures into the sheets themselves, rather they would
paste them into a suitable box on a userform and then the user form would
enter the pasted image into the correct cell

To explain better, I use ChemDraw - a chemical drawing package - one usually
copies the structures in ChemDraw and you can paste them directly into Excel
- they appear as a floating selection in excel which can be dragged around,
resized etc.

I would like to paste the copied structure into a suitable dialog box on
userform which then deposits the picture into the correct cell of the
spreadsheet.

"Peter T" wrote:

Afraid I don't follow. You say "upload"; do you mean get/send an image from
a web site, or do you mean get an image from file and display on a sheet
(use Insert Picture method), or do you mean copied as an image from some
other app (manually or programmatically) and copied onto the sheet, or...?

Regards,
Peter

"Roger on Excel" wrote in message
...
Hi Peter,

Many thanks for posting your suggestion

I just read my post again and I dont think I described my problem very
well.

I am not needing to be able to create a picture on the form, but find a
suitable control which allows a user of the form in the spreadsheet to
paste
an image (or an image upload) which can be stored in the sheet and used in
the sheet.

For example I use the form for entering chemical data which is appended to
a
list in the sheet. This is fine, but I would like to paste in a chemical
structure from a ChemDraw drawing package into a form when i enter data.

I am guessing there must be an upload tool for a file such as a jpg or bit
map, but I really prefer to be able to paste in the individual image for
each
data entry.

I hope this explains better my requirements.

Regards,

Roger



"Peter T" wrote:

If you mean copy drawing objects onto a form, see Andy Pope's demo

http://andypope.info/vba/userformdraw.htm

Or for images you can load from file or other ways to an Image control

Regards,
Peter T


"Roger on Excel" wrote in
message
...
Is there a way to cut and paste pictures/objects into a userform field
such
that a user can paste in an external object (for example a chemical
structure
or a screen capture) into the form.

The pasted item in the userform would then need to be be appended to
the
spreadsheet at a chosen cell location and also pulled back to the
userform
when the user edits the userform (for example changes the embedded
picture).

I know how to do this with text (Contextures website) but would like to
learn how to do it with other objects.

Can anyone help?

Regards,

Roger


.



.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Cut and paste objects into userforms

I'm still not following

" they appear as a floating selection in excel which can be dragged around"

What is that "floating selection", some sort of object no doubt but what, a
Picture? How did it get in the clipboard (from your code or by user
mouse/keyboard copy), is it an image in the clipboard. Do you want the image
to go straight from clipboard onto the userform (and what do you mean by
into a dialog), or from the floating whatever it is on the sheet then into
the something (dialog?) on the userform.

Regards,
Peter T



"Roger on Excel" wrote in message
...
Hi Peter,

I am making a spreadsheet which is to be driven by userforms as I do not
want users to paste pictures into the sheets themselves, rather they would
paste them into a suitable box on a userform and then the user form would
enter the pasted image into the correct cell

To explain better, I use ChemDraw - a chemical drawing package - one
usually
copies the structures in ChemDraw and you can paste them directly into
Excel
- they appear as a floating selection in excel which can be dragged
around,
resized etc.

I would like to paste the copied structure into a suitable dialog box on
userform which then deposits the picture into the correct cell of the
spreadsheet.

"Peter T" wrote:

Afraid I don't follow. You say "upload"; do you mean get/send an image
from
a web site, or do you mean get an image from file and display on a sheet
(use Insert Picture method), or do you mean copied as an image from some
other app (manually or programmatically) and copied onto the sheet,
or...?

Regards,
Peter

"Roger on Excel" wrote in
message
...
Hi Peter,

Many thanks for posting your suggestion

I just read my post again and I dont think I described my problem very
well.

I am not needing to be able to create a picture on the form, but find a
suitable control which allows a user of the form in the spreadsheet to
paste
an image (or an image upload) which can be stored in the sheet and used
in
the sheet.

For example I use the form for entering chemical data which is appended
to
a
list in the sheet. This is fine, but I would like to paste in a
chemical
structure from a ChemDraw drawing package into a form when i enter
data.

I am guessing there must be an upload tool for a file such as a jpg or
bit
map, but I really prefer to be able to paste in the individual image
for
each
data entry.

I hope this explains better my requirements.

Regards,

Roger



"Peter T" wrote:

If you mean copy drawing objects onto a form, see Andy Pope's demo

http://andypope.info/vba/userformdraw.htm

Or for images you can load from file or other ways to an Image control

Regards,
Peter T


"Roger on Excel" wrote in
message
...
Is there a way to cut and paste pictures/objects into a userform
field
such
that a user can paste in an external object (for example a chemical
structure
or a screen capture) into the form.

The pasted item in the userform would then need to be be appended to
the
spreadsheet at a chosen cell location and also pulled back to the
userform
when the user edits the userform (for example changes the embedded
picture).

I know how to do this with text (Contextures website) but would like
to
learn how to do it with other objects.

Can anyone help?

Regards,

Roger


.



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paste EXCEL 2007 sheet into WORD 2007 - objects move around Martin L Excel Discussion (Misc queries) 5 February 29th 08 01:45 PM
Beginer to UserForms question on assigning properties to objects [email protected] Excel Discussion (Misc queries) 3 July 27th 07 01:45 PM
How to paste objects in a protected sheet Bagua Excel Discussion (Misc queries) 0 May 25th 06 02:13 AM
Looping Thru Objects in UserForms RobC[_3_] Excel Programming 2 January 25th 05 10:55 PM
Unable to remove Sheet objects in the Microsoft Excel Objects Adrian[_7_] Excel Programming 1 August 26th 04 10:49 PM


All times are GMT +1. The time now is 07:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"