LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need help using nameranges to write to columns

Hi im new to vb and Excel
Im tring to create a form that you can type a value in a text box and it
saves it in a seperate sheet, on a specific column in the workbook

What I have so far is a button and text box, And a name range(scraprng)that
is column q thru row 365


-------------------------------------------------------------------

Private Sub CommandButton1_Click()

Worksheets("OEE Data").Range("scraprng") = scraptxtbox

--------------------------------------------------------------------
say i type a value into the text box and hit the button, it will save the
value in the column , but in all the cells in the namerange

What I want it to do is save the value in only one cell at a time in the
namerange per button click

--
Thanks
 
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
How to write a function for column A = product of two columns, B a wlfoote Excel Worksheet Functions 5 January 24th 09 09:56 PM
Problem with reloading graphs! (References to Nameranges) [email protected] Excel Programming 2 January 8th 07 08:48 PM
How do I write a VBA code in excel that will compare two columns . PenelopeinCinci Excel Worksheet Functions 2 April 14th 05 05:27 PM
How write to hidden columns with VBA? Michel[_3_] Excel Programming 4 May 4th 04 08:32 PM
write out a flat file with fixed columns Steve[_35_] Excel Programming 3 August 29th 03 09:04 PM


All times are GMT +1. The time now is 12:34 AM.

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"