PC Review


Reply
Thread Tools Rate Thread

Making a table

 
 
Kepler
Guest
Posts: n/a
 
      10th Dec 2005

Hi,

Given some results, I want to build a table in Excel. How can I do
this? The first line, from A1:J1 will have a content in each cell;
A2:J2, A3:J3, etc...will have similar formula contents. The process
must be conducted by an IF statement ( otherwise it would fill the
entire sheet).

Can anyone help me out?

Kind regards,

Kepler


--
Kepler
------------------------------------------------------------------------
Kepler's Profile: http://www.excelforum.com/member.php...o&userid=29328
View this thread: http://www.excelforum.com/showthread...hreadid=492401

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      10th Dec 2005
Sometimes the macro recorder can be your friend. To show you, I just
recorded this
Sub Macro3()
'
' Macro3 Macro
' Macro recorded 12/10/2005 by Don Guillett
'

'
Range("H1:I1").Select
Selection.AutoFill Destination:=Range("H1:I10"), Type:=xlFillDefault
Range("H1:I10").Select
End Sub

which may then be refined by removing selections
Sub filldown()
Range("H1:I1").AutoFill Range("H1:I10")
End Sub

You would have to give more info on what determines the last row to fill to
such as

lastrow=cells(rows.count,"a").end(xlup).row
Range("H1:I1").AutoFill Range("H1:I" & lastrow)

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Kepler" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Hi,
>
> Given some results, I want to build a table in Excel. How can I do
> this? The first line, from A1:J1 will have a content in each cell;
> A2:J2, A3:J3, etc...will have similar formula contents. The process
> must be conducted by an IF statement ( otherwise it would fill the
> entire sheet).
>
> Can anyone help me out?
>
> Kind regards,
>
> Kepler
>
>
> --
> Kepler
> ------------------------------------------------------------------------
> Kepler's Profile:
> http://www.excelforum.com/member.php...o&userid=29328
> View this thread: http://www.excelforum.com/showthread...hreadid=492401
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making many rows in one table out of one row from another table David Microsoft Access 3 26th Sep 2006 11:14 PM
Making multiple rows in Table B from one row in Table A. =?Utf-8?B?TGludXMgQ2FyaWJvbw==?= Microsoft Access Queries 1 17th Jan 2005 11:06 PM
Making a new table Kay Davies Microsoft Access Database Table Design 1 22nd Jul 2004 08:12 PM
making table design into its own table dbaker@ku.edu Microsoft Access 6 26th Dec 2003 11:03 AM
making table design into its own table dbaker@ku.edu Microsoft Access 0 3rd Nov 2003 11:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:35 PM.