Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Soe Soe is offline
external usenet poster
 
Posts: 5
Default end of data in column

u may record macro by doing this.
select last row (65536)at the column u like to count, press end then up
arrow key, then the cursor will be at the end row of the column. take the
activecell.rownumber properties as the last record.
Then, open the recorded macro, then u will know the code.

"Sam" wrote in message
om...
hi there
i have 2 columns A and B.
column A has fund names
x
y
z
p
q
r
etc etc
column B has strategy names
m
n
o
etc etc

the number of funds and startgies are not fixed.
i can have less or more.
it can change with time

i want a macro to copy only fundanames and place them in a column
on "Sheet2" say cell A 5

and the strategies shud be placed in the row say cell B4 onwards....
in simple terms i want to create a matrix/table whose x axis is strategy

name
and y axis is fundname...

but as the number of funds and strategies change i m not able to do

that...
how do i make my macro understand where the data ends ....
can u help?

mail me at
thanks in advance

sameer



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
How do I sort data in column B to align with data in column A? Jephri1 New Users to Excel 1 April 18th 08 05:05 AM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
counting data in one column and match with data in another column jenny Excel Discussion (Misc queries) 1 October 26th 06 09:16 PM
If data in one column, take date, add 2 days, and turn the entire column a color... [email protected] Excel Discussion (Misc queries) 6 August 24th 06 03:58 AM
Matching one column against another column of data to show the same amount of data. dodat Excel Worksheet Functions 0 December 30th 05 06:19 PM


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