Hi Vebhav,
If the adjacent column you want is column 7, then try:
 
Selection.AutoFill Destination:=Range(Cells(2, 8), Cells(Cells(Rows.Count, 
7).End(xlUp).Row, 8)) 
 
I don't have a sample sheet, so I can't test it. Let me know if it works.
If the adjacent column is not column 7, then change the '7' in the code line 
for the appropriate number.
 
Regards - Dave.


Date: Mon, 13 Dec 2010 14:42:04 +0530
Subject: Re: $$Excel-Macros$$ Error
From: [email protected]
To: [email protected]


Dave,
 
Before that i used the concatenate function, so i want to autofill upto the 
adjacent column.
 
Thanks,
Vebhav Jain


On Mon, Dec 13, 2010 at 8:32 AM, Dave Bonallack <[email protected]> 
wrote:


Hi Vebhav,
You seem to be trying to autofill a range based on where the range currently 
ends. Are you sure you don't want to fill Col 8 as far down as data in an 
adjacent column?
Regards - Dave. 


Date: Mon, 13 Dec 2010 07:40:24 +0530
Subject: $$Excel-Macros$$ Error
From: [email protected]
To: [email protected] 





Hi All,
 
Please help me out in rectifying the below error.
 
 Selection.AutoFill Destination:=Range(Cells(2, 8), Cells(Rows.Count, 
8).End(xlUp)) 
 
Regards
Vebhav Jain
 
 
-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

To post to this group, send email to [email protected]
 
<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts




-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

To post to this group, send email to [email protected]
 
<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts


-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

To post to this group, send email to [email protected]
 
<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts
                                          

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to [email protected]

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts

Reply via email to