LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default using a user form to add data


FurRelKT wrote:
bobbo, again thankyou.
another question: I also would like to keep one blank row between the
myStr and the empty row (they have the formulas). I have found a way to
add the rows, while still keeping the formulas, by searching this site.
So the problem is, i want to keep at least one row between, then if
there insn't enough 'empty' rows left to input the rows, pop up the
question of how many rows to add.... OR another thought, keep the one
row between, if there isn't enough rows add another row to the sheet
(as many as what is needed for the input), but copy the formula's from
the above row...that seems like a better solution to me. what you
think?

additionally, by your suggestion of using the arrForm(1 to 20,1 to 5).
can i also make sure that the columns in the listbox are filled using
the columns? I am not sure how this works.
listbox1.ListColumn = 5

to get the result like this, can it be done?:

product | bankid | project | servtype | amount
1 -- ABC | ABCD | theproj | cross charge | 100.00
2 -- DEF | DEFG | another | vacation | 40.00

instead of what it is now...

1 -- ABC ABCD theproj cross charge 100.00
2 -- DEF DEFG another vacation 40.00

using the code:
lbxResults.AddItem (counter & " -- " & cboProduct.Value & " " &
cboBankID.Value & _
" " & cboProject.Value & " " & cboServType.Value &
" " & txtAmount.Value)


I think your best bet for dynamically inserting rows would be to name
the range that you want to insert rows above and if the row of where
the userform writes is one above it insert the row. The other stuff I
am not quite sure off yet. I am still a novice with this stuff because
I have only been learning it for a little more than a year.



 
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
User form to sort data Gazza Excel Programming 6 September 21st 06 01:59 AM
displaying the user form data cyzax7 via OfficeKB.com Excel Programming 3 June 12th 06 01:49 AM
user form - data range sam1[_3_] Excel Programming 4 March 28th 06 01:27 AM
Data from user form to certain cell parteegolfer Excel Programming 4 March 22nd 06 05:13 PM
Reading Data from a User Form. Aaron1978 Excel Programming 2 February 5th 06 07:19 PM


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