Ask your question
Report

Excel User forms

prasad - Feb 9, 2010 10:27am GMT - Last answer on Feb 9, 2010 2:25pm GMT rizvisa1
Hello,

I have created excel project database using excel Userforms. First request form capture the customer inputs and store in Request_database sheet, which contains 12 columns (A to L). Now I frequently update Hold Status column manually.

Now I created a editable User form which will read all the data by the help of list index, but when I update data it will not take on same row its added to next row because of .offset code, I need to replace code which will update on the same row.

Please Help on this.

Thanks,
prasad


Private Sub cbocompdate_Change()
cbocompdate.Value = Format(Me.cbocompdate.Value, "dd mmm,yyyy")
End Sub



Private Sub cboend_Change()
cboend.Value = Format(Me.cboend.Value, "dd mmm,yyyy")
End Sub

Private Sub cboread_Change()
cboread.ListIndex = cboeco.ListIndex
End Sub

Private Sub cboreq_Change()
cboreq.Value = Format(Me.cboreq.Value, "dd mmm,yyyy")
End Sub

Private Sub cboserial_Change()
cboeco.ListIndex = cboserial.ListIndex
cborequester.ListIndex = cboserial.ListIndex
cboreq.ListIndex = cboserial.ListIndex
cbosubsystem.ListIndex = cboserial.ListIndex
cbocompdate.ListIndex = cboserial.ListIndex
cbodesigner.ListIndex = cboserial.ListIndex
cbostart.ListIndex = cboserial.ListIndex
cboend.ListIndex = cboserial.ListIndex
cboestimate.ListIndex = cboserial.ListIndex

End Sub




Private Sub cboeco_Change()
cboserial.ListIndex = cboeco.ListIndex
cborequester.ListIndex = cboeco.ListIndex
cboreq.ListIndex = cboeco.ListIndex
cbosubsystem.ListIndex = cboeco.ListIndex
cbocompdate.ListIndex = cboeco.ListIndex
cboread.ListIndex = cboeco.ListIndex
cbodesigner.ListIndex = cboeco.ListIndex
cbostart.ListIndex = cboeco.ListIndex
cboend.ListIndex = cboeco.ListIndex
cboestimate.ListIndex = cboeco.ListIndex

End Sub

Private Sub cbostart_Change()
cbostart.Value = Format(Me.cbostart.Value, "dd mmm,yyyy")
End Sub

Private Sub Status_Hold_Click()
Dim Rowcount As Long
Dim ctl As Control
'check user input

MsgBox "Please Confirm on the Entries"

'write data to worksheet
Rowcount = Worksheets("cadexecution").Range("A1").CurrentRegion.Rows.Count
With Worksheets("cadexecution").Range("A1")

.Offset(Rowcount, 8).Value = Me.txthold.Value

End WithConfiguration: Windows XP Firefox 2.0.0.20
Read more ...
Add comment

Best answers

 Excel User forms - Search

 Excel user form enter cell - Forum

Best answer: Hi use sheets("Sheetname).cells(rowno,columnno).value=textbox1.text for each text box in submit button click event

 How to make table in excel file of the data inserted into VBA user form - Forum

Best answer: Hello, Your example is not very clear. Do you mean you want to transpose the data from a horizontal position to a vertical position. If you want to transpose the rows to colums just use copy and paste special.. Make sure you mark the transpos

 Excel search form 2003 - Forum

Best answer: Hi, This is the first time I'm trying to create a form in Excel. I read your message and I'm trying to do the same - creating a form for colleagues to enter data which goes into rows in a spreadsheet. I would also like to allow them to search

 Excel data form input put data in correct sheets and rows - Forum

Best answer: To create form go to visual basic editor (ALT + F11) >>Insert>> Userform find how to fill controls (text boxes, labels, buttons) into a userform by searching in google When userform is created and make a macro to show that userform on clickin

 Excel vba forms database - Forum

Hello, Is there a way to add a Sheet or a table object in a Excel VBA form. I need to display a tabular data to user. Thank you, NikhilConfiguration: Windows XP / Safari 532.5

 How to put value in excel cell form another cell - Forum

Hello, I am creating a spreadsheet for recording annual leave for a department. I have set up a macro so that when a button is clicked, all the currently selected cells will change colour to denote annual leave. However, I would like to set the value...

 How to make excel user & pass prompt on open - Tips

How to Password Protect your Files and Folders How to password protect a Word document Password protection on Windows 3.x, Windows 95 and Windows 98 Password protection on Windows XP Password protection on Windows XP Home Edition Password...

 User feedback on Excel-MySQL converter - Download

Excel-MySQL converter 3.1.1 (latest version) - Henceforth with Excel-MySQL Converter, it is not necessary to be a developer to be able to convert Microsoft Excel data into MySQL database or vice versa. This program allows you to convert quickly your data

 Dynamically add controls on excel form - Forum

Best answer: hi...need help urgently on this..pls

 WebNote Single User Version - Download

Webnote Single User Version is an advanced notebook entirely free. It can make notes in real time on web pages with tools to design. The annotations can then be shared on a network.

 Excel Invoice Manager Pro - Download

Invoice Manager Pro Excel is software of personalized invoicing software based on Microsoft Excel. The application also allows managing the customers, the products, the invoices and the payments .The program associates the power of Microsoft Excel...

 ZAP User Profile Mirror - Download

ZAP User Profiles Mirror is a program to create a mirror for user profiles. With this software it is possible to migrate the domain profiles and the different Windows user accounts can share the same user profile on a computer. The program lets you...

 Excel - IF formulas for Printing and Calculation - Tips

Excel - IF formulas for Printing and Calculation Issue Solution Note Issue I am trying to get Excel IF formulas to print a text and calculation based on true/false. Such as, if I have some dates, and I don’t need to send a notice to a...

 [Excel] - Partial Cell Match of Company Names - Tips

[Excel] - Partial Cell Match of Company Names Issue Solution Note Issue I was wondering if anyone knows how to match similar but not identical cells in excel without specifying the exact match string. For example what formula would...

 Easy Hour Assignments with Excel - Download

Henceforth, it is not necessary to modify your timesheet each time your employees’ schedules are modified and that thanks to Easy Hour Assignments with Excel. Easy Hour Assignments with Excel is an add-in for Microsoft Excel which allows you to...

Sort by :   Vote | Date | Date descending 1 answers
+0
moins plus
Could you post your book at http://www.speedyshare.com or some other place ?
Add comment