Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Form Textboxes

I currently have a macro that will allow the user to enter
in a piece of information, will find that information on
the spreadsheet, open up a form listing that information
(and some other stuff) and allow the user to edit the
information. Ideally, when the OK button is hit, the now
edited information will be saved back into the correct
cells. I cannot get the information to go back to those
cells.

Suggestions?

Thanks

Pat
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Form Textboxes


Just use the same information the user entered to find the information to
again

"find that information on
the spreadsheet,"

Then use that range as the basis for writing back the information.

set rng = Cells.find(textbox1.text)
rng.offset(0,1).Value = Textbox2.Text
rng.offset(0,2).Value = Textbox3.Text

--
Regards,
Tom Ogilvy



"Pat" wrote in message
...
I currently have a macro that will allow the user to enter
in a piece of information, will find that information on
the spreadsheet, open up a form listing that information
(and some other stuff) and allow the user to edit the
information. Ideally, when the OK button is hit, the now
edited information will be saved back into the correct
cells. I cannot get the information to go back to those
cells.

Suggestions?

Thanks

Pat



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
Textboxes SAL Excel Discussion (Misc queries) 2 July 13th 07 12:24 AM
UserForm TextBoxes Rob Excel Discussion (Misc queries) 2 August 6th 05 03:07 AM
tab between several textboxes Kim Excel Worksheet Functions 0 May 9th 05 04:08 PM
Excel Textboxes Cade09 Excel Programming 1 November 21st 03 05:17 PM
userform textboxes Jo[_6_] Excel Programming 4 October 21st 03 07:15 PM


All times are GMT +1. The time now is 02:08 PM.

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

About Us

"It's about Microsoft Excel"