Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Control Text Box Data Transfer


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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Control Text Box Data Transfer


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 wrote in message
...
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?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Control Text Box Data Transfer

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
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
MS Internet Transfer Control J Streger Excel Programming 2 April 22nd 08 04:09 PM
Transfer Excel data into Word, including text box data Sarah (OGI) Excel Discussion (Misc queries) 0 July 13th 07 10:06 AM
How to Transfer data from Text Form Fields in MS Word into Excel? CWillis Excel Discussion (Misc queries) 1 July 18th 06 06:35 AM
Excel to Text - Data Transfer grammy Excel Discussion (Misc queries) 0 March 7th 06 09:26 PM
Can data from one ws transfer to another IF cell has text? Ccp Excel Worksheet Functions 3 July 15th 05 04:14 AM


All times are GMT +1. The time now is 10:19 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"