PC Review


Reply
Thread Tools Rate Thread

Control Text Box Data Transfer

 
 
Ryan Hicks
Guest
Posts: n/a
 
      26th Jun 2009

I have copied and pasted from a website with a list of fuel used that were
entered by the user. When copied to excel, all entry boxes turned to control
text boxes. If there a macro to transfer the contents of the box to their
respective adjacent cell?
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      26th Jun 2009

You could play around with the TopLeftCell property but my personal
preference is to designate a range of cells that I want to use and the make
explicit value assignments to those cells for the value of the text boxes.
Maybe someone else has a better way, but if there is any adding or deleting
of rows and columns, The TopLeftCell property is not very stable.



"Ryan Hicks" <Ryan (E-Mail Removed)> wrote in message
news:5A033E65-2BD6-4BBF-9719-(E-Mail Removed)...
>I have copied and pasted from a website with a list of fuel used that were
> entered by the user. When copied to excel, all entry boxes turned to
> control
> text boxes. If there a macro to transfer the contents of the box to their
> respective adjacent cell?



 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      11th Jul 2009
You could also try

Sub Macro()
For Each obj In ActiveSheet.DrawingObjects
intTemp = intTemp + 1
Range("A" & intTemp) = obj.Object.Text
Next
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Ryan Hicks" wrote:

> I have copied and pasted from a website with a list of fuel used that were
> entered by the user. When copied to excel, all entry boxes turned to control
> text boxes. If there a macro to transfer the contents of the box to their
> respective adjacent cell?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer Excel data into Word, including text box data =?Utf-8?B?U2FyYWggKE9HSSk=?= Microsoft Excel Misc 0 13th Jul 2007 10:06 AM
Transfer data in Data Control shapper Microsoft VB .NET 0 8th Mar 2007 12:48 AM
transfer text from a control source =?Utf-8?B?UnRlcnNu?= Microsoft Access 0 12th Oct 2005 04:13 PM
Can data from one ws transfer to another IF cell has text? Ccp Microsoft Excel Worksheet Functions 3 15th Jul 2005 04:14 AM
Any freeware to exactly control the amount of internet usage and data transfer Rahman Freeware 0 24th Dec 2004 01:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:52 AM.