Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 18th, 2008, 06:51 AM
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Copy cell into userform?

Hello,

I have a bill template that users enter narrative, amounts and VAT into a user form, that information is then displayed in a table format in the template ready to print.

I am trying to create a userform that will copy the narrative from main document in the selected cell and place the text into a textbox within a userform so that the user can edit?

Can anyone advise how I can go about this, or where I can look for this information, as I am really confused as to the correct syntax for this.

Many thanks,

Reply With Quote
  #2 (permalink)  
Old March 18th, 2008, 11:03 AM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

This starts a new sentence. Should be a period, followed by a capital letter:
"... user form, that information..." should be "... user form. That information..."

"I am trying to create a userform that will copy the narrative from main document in the selected cell and place the text into a textbox within a userform so that the user can edit" is a statement, not a question, and so should end with a period, not a question mark.

(Trying to be helpful...)

What environment does this apply to? Is this Excel? VB6? VB.NET? Access? Word (if so, which version)?

If you are using Word, the Selection object should have in it the data you are after.

The word you used, "main document," implies Word, but the description ",in the selected cell," seems to imply Excel. If you could clarify, that would be helpful.
Reply With Quote
  #3 (permalink)  
Old April 29th, 2008, 07:04 AM
Friend of Wrox
Points: 687, Level: 9
Points: 687, Level: 9 Points: 687, Level: 9 Points: 687, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Cabbage!

Check this link;
http://in.geocities.com/raghavendra_...To_TextBox.zip

it will populates the two particular cells data to the userForm two respective textboxes.

Enter the Billamount in B3 and VAT in B4 and click that "call form" button.

Hope this will give you an idea.

With Regards,
Raghavendra Mudugal
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy from cell A3 workbookA into cell A3 workbookB mona_upm84 Excel VBA 1 September 5th, 2008 01:31 AM
copy columns based on cell values EricB123 Excel VBA 0 December 18th, 2007 12:51 AM
Copy data into cell by cell zone Excel VBA 2 September 4th, 2007 11:50 AM
I need to refer a cell within a cell like =RC[ RC2 chakravarthi_os Excel VBA 1 September 24th, 2006 08:19 AM
Lose cell Text when editing cell in VSFlexGrid 6 bobcratchet VB How-To 0 July 30th, 2004 09:32 AM



All times are GMT -4. The time now is 03:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.