Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Duplicating O/P of Input form conditionally

I have used the following code to fill 6 columns with information needed on
each row. This is a standard way of taking user input from a form.

When the form is filled, Line 4 and Columns KLMNOP are populated as
expected.

I am going to pipe this information from Excel to another application and
would not only like line 4 of these columns to be filled but all of those
lines with the same information down as far as Row 36.

I chose row 36 this time because there is info between row 4 and 36 in
columns A-J. In future there may be info from lines 4 to 250 so I need the
code to check the last cell in column A with information in it and use this
as the reference for how far down to fill with the duplicated information.

Thanks in advance
Rob H

ActiveWorkbook.Sheets("Ageing Balance").Activate
Range("K4").Select
Do
If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(ActiveCell) = True
ActiveCell.Value = txtTax.Value
ActiveCell.Offset(0, 1) = txtCommission.Value
ActiveCell.Offset(0, 2) = txtJob.Value
ActiveCell.Offset(0, 3) = txtAuthoriser.Value
ActiveCell.Offset(0, 4) = txtUserID.Value
ActiveCell.Offset(0, 5) = Now()
Range("A1").Select
Unload Me


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
excel drop down box used conditionally based on previous input RGS Excel Discussion (Misc queries) 1 March 2nd 09 05:12 PM
input in number form is being multiplied by 1000 when i input. jweinograd Excel Discussion (Misc queries) 4 April 16th 07 11:18 PM
Conditionally Hide Validation "Input Message" Pastel Hughes Excel Discussion (Misc queries) 3 February 13th 06 09:40 PM
How can I have an input form to add a random no. to each input entry? saziz Excel Discussion (Misc queries) 2 January 25th 06 11:46 PM
Lock and unlock cells conditionally depending on input in another Frustrated Excel Worksheet Functions 1 November 11th 05 03:36 PM


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