Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dhoward via OfficeKB.com
 
Posts: n/a
Default Pasting into a column

I download a lot of data from various sources and need to manipulate in Excel.
These spreadsheets are of variable size. Sometimes I need to add a formula
to the spreadsheet. I've been entering my formula, copying it and then
selecting entire column and then pasting it. This of course expands the size
of my spreadsheet to the maximum size. I tried using paste special but that
didn't prevent it. What can I try to paste only in the active area of my
sheet?

--
Message posted via http://www.officekb.com
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Pasting into a column

Enter your formula in the uppermost cell in the column of choice, then
left-click on it and left-click and drag the little black square in the lower
right hand corner down the column as far as you wish to copy the formula...

hth
Vaya con Dios,
Chuck, CABGx3



"dhoward via OfficeKB.com" wrote:

I download a lot of data from various sources and need to manipulate in Excel.
These spreadsheets are of variable size. Sometimes I need to add a formula
to the spreadsheet. I've been entering my formula, copying it and then
selecting entire column and then pasting it. This of course expands the size
of my spreadsheet to the maximum size. I tried using paste special but that
didn't prevent it. What can I try to paste only in the active area of my
sheet?

--
Message posted via http://www.officekb.com

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Pasting into a column

Thanks for the suggestion. This works great when it is just a one time use.
However, I do this a lot in macros and find that using auto fill doesn't work
perfectly in a merge. Any other ideas?

CLR wrote:
Enter your formula in the uppermost cell in the column of choice, then
left-click on it and left-click and drag the little black square in the lower
right hand corner down the column as far as you wish to copy the formula...

hth
Vaya con Dios,
Chuck, CABGx3

I download a lot of data from various sources and need to manipulate in Excel.
These spreadsheets are of variable size. Sometimes I need to add a formula

[quoted text clipped - 3 lines]
didn't prevent it. What can I try to paste only in the active area of my
sheet?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200607/1
  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Pasting into a column

Tom Ogilvy gave me this code one time when I had what I think was a similar
problem..........perhaps it's what you're looking for.......

Range("i8").Formula = "=H8 + G8"
Range("i8").Select
Selection.AutoFill Destination:=Range("i8:i" & _
cells(rows.count,8).End(xlup).Row) '8 stands for column H

hth
Vaya con Dios,
Chuck, CABGx3


"dhoward via OfficeKB.com" <u10035@uwe wrote in message
news:62b5118b1b478@uwe...
Thanks for the suggestion. This works great when it is just a one time

use.
However, I do this a lot in macros and find that using auto fill doesn't

work
perfectly in a merge. Any other ideas?

CLR wrote:
Enter your formula in the uppermost cell in the column of choice, then
left-click on it and left-click and drag the little black square in the

lower
right hand corner down the column as far as you wish to copy the

formula...

hth
Vaya con Dios,
Chuck, CABGx3

I download a lot of data from various sources and need to manipulate in

Excel.
These spreadsheets are of variable size. Sometimes I need to add a

formula
[quoted text clipped - 3 lines]
didn't prevent it. What can I try to paste only in the active area of

my
sheet?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200607/1



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Pasting into a column

Thanks, I just tried to enter this as a macro but I'm getting a syntex error
message on this part. I've entered it just as you have it below.
Selection.AutoFill Destination:=Range("i8:i" & _
cells(rows.count,8).End(xlup).Row)

CLR wrote:
Tom Ogilvy gave me this code one time when I had what I think was a similar
problem..........perhaps it's what you're looking for.......

Range("i8").Formula = "=H8 + G8"
Range("i8").Select
Selection.AutoFill Destination:=Range("i8:i" & _
cells(rows.count,8).End(xlup).Row) '8 stands for column H

hth
Vaya con Dios,
Chuck, CABGx3

Thanks for the suggestion. This works great when it is just a one time use.
However, I do this a lot in macros and find that using auto fill doesn't work

[quoted text clipped - 13 lines]
didn't prevent it. What can I try to paste only in the active area of my
sheet?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200607/1


  #6   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Pasting into a column

I just tried it again, just as I posted, with the Range selection line
before the AutoFill line.......worked fine on my XL97. It does fail with no
Range Selection line in place.......Do you have a Range Selection line in
place?........perhaps if you posted your whole macro we could see the
problem.

Vaya con Dios,
Chuck, CABGx3


"dhoward via OfficeKB.com" <u10035@uwe wrote in message
news:62d9a37f16e25@uwe...
Thanks, I just tried to enter this as a macro but I'm getting a syntex

error
message on this part. I've entered it just as you have it below.
Selection.AutoFill Destination:=Range("i8:i" & _
cells(rows.count,8).End(xlup).Row)

CLR wrote:
Tom Ogilvy gave me this code one time when I had what I think was a

similar
problem..........perhaps it's what you're looking for.......

Range("i8").Formula = "=H8 + G8"
Range("i8").Select
Selection.AutoFill Destination:=Range("i8:i" & _
cells(rows.count,8).End(xlup).Row) '8 stands for column H

hth
Vaya con Dios,
Chuck, CABGx3

Thanks for the suggestion. This works great when it is just a one time

use.
However, I do this a lot in macros and find that using auto fill

doesn't work
[quoted text clipped - 13 lines]
didn't prevent it. What can I try to paste only in the active area

of my
sheet?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200607/1



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
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Pasting HTML table with feet/inches column, excel changes it to da Bothell John Excel Discussion (Misc queries) 0 September 6th 05 06:40 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


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