Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Entering data between existing data

I am trying to send data, that has been inserted in a textbox on a pop
up form, to a spreadsheet. It works but I have two forms one that
places Disposition Notes and one that places Location Notes. My
problem is getting the Location Notes section to move down when I add
another set of Disposition Notes. Right now it places data under the
Disposition heading but overwrites it next time I enter data. I want it
to find the end of the previous data in the line before and skip on
line then list the nest entry. I hope this is a good description.

My Spreadsheet looks like this:
-----------------------------------------------------------------------
NOTES PAGE

DISPOSITION NOTES
Change Number: (Value From ChangeNum.text)
Part Number: (Value From DPartNum.text)
(Value from DNotes_Box.text)


LOCATION NOTES
Top Number: (Value From ChangeNum.text)
Part Number: (Value From LPartNum.text)
(Value from LNotes_Box.text)
-----------------------------------------------------------------------

Here is my code:

Private Sub Submit_DNotes_Click()

With Worksheets("Notes")
cUseRow = .Cells(5, "G").End(xlDown).Row + 1
' may need to change this to insert muliple rows
Rows(cUseRow).Insert Shift:=xlDown

..Cells(cUseRow + 1, "G").Value = "Change Number: " & ChangeNum.Text
..Cells(cUseRow + 2, "G").Value = "Part Number: " & DPartNum.Text
..Cells(cUseRow + 3, "G").Value = DNotes_Box.Text

End With

DNotesForm.Hide

End Sub


Thank you for your help.
Morry


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Entering data between existing data

Will someone please help me I really need to figure this out.

Please help.

Thank you
Morr

--
Message posted from http://www.ExcelForum.com

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
Imported Data Not Replacing Existing Data - Excel 2007 Marilyn Excel Discussion (Misc queries) 0 April 27th 09 05:22 PM
Adding data to existing data that has a unique number in column Lars Excel Discussion (Misc queries) 3 June 28th 07 11:48 AM
MULTIPLE DATA - How to insert new data into existing data.... Rodorodo Excel Discussion (Misc queries) 0 December 15th 06 11:50 PM
Refresh existing data when changed in data validation list problem girl New Users to Excel 1 September 28th 05 10:19 PM
moving data in excel without deleting existing data jigna Excel Discussion (Misc queries) 1 January 30th 05 11:35 AM


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