Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Copy / Past problem.

Hi,
I prepared Inventory Report through some formulas.
the last column of my inventory report is "F" column for the closing
balance. there is a formula in F column, =C15+D15-E15 in entire
column. from F9 till F48.

(I know special past for the values.) ALT E+S+V

I want to convert all the amount into values in Column "K9"
I need a macro who convert all the F column values in to K column, and
when I run the same macro it will copy all the values in "L" column
and when I run the same macro it will copy into "M" column and so
on.......

Because I want to keep all these values in histry all the Closing
Balance for all Months to view it later on.

hope you understand...


column "F"
====================
Closing Balance (MAY 08)
====================
4,357.66
8,320.46
8,097.88
2,835.97
27,708.10
2,007.47
11,067.17
57,558.05
-
2,579.00
-
-
1,387.28
123,010.95
26,018.83
-
3,293.80

If this procedure is possible. pls send suggessions.

best Regards

Syed Shahzad
Madinah
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Copy / Past problem.

On Jun 3, 7:00*pm, "Don Guillett" wrote:
Assumes something in range("j1") to start with
Copies all of column F to col K, then col L, etc

Sub copytolastcolplus1()
lc = Cells(1, Columns.Count).End(xlToLeft).Column + 1
Columns(lc).Value = Columns("f").Value
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
wrote in message

...



Hi,
I prepared Inventory Report through some formulas.
the last column of my inventory report is "F" column for the closing
balance. there is a formula in F column, * =C15+D15-E15 in entire
column. *from F9 till F48.


(I know special past for the values.) * ALT E+S+V


I want to convert all the amount into values in Column "K9"
I need a macro who convert all the F column values in to K column, and
when I run the same macro it will copy all the values in "L" column
and when I run the same macro it will copy into "M" column and so
on.......


Because I want to keep all these values in histry all the Closing
Balance for all Months to view it later on.


hope you understand...


* column "F"
====================
Closing Balance (MAY 08)
====================
4,357.66
8,320.46
8,097.88
2,835.97
27,708.10
2,007.47
11,067.17
57,558.05
-
2,579.00
-
-
1,387.28
123,010.95
26,018.83
-
3,293.80


If this procedure is possible. pls send suggessions.


best Regards


Syed Shahzad
Madinah- Hide quoted text -


- Show quoted text -


Hi,

I used the above code, but it is giving Error. "Variable is not
defined"

how to fix this.

regards

shahzad
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Copy / Past problem.

Sub copytolastcolplus1()
Dim lc As Long
lc = Cells(1, Columns.Count).End(xlToLeft).Column + 1
Columns(lc).Value = Columns("f").Value
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

wrote in message
...
On Jun 3, 7:00 pm, "Don Guillett" wrote:
Assumes something in range("j1") to start with
Copies all of column F to col K, then col L, etc

Sub copytolastcolplus1()
lc = Cells(1, Columns.Count).End(xlToLeft).Column + 1
Columns(lc).Value = Columns("f").Value
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
wrote in message

...



Hi,
I prepared Inventory Report through some formulas.
the last column of my inventory report is "F" column for the closing
balance. there is a formula in F column, =C15+D15-E15 in entire
column. from F9 till F48.


(I know special past for the values.) ALT E+S+V


I want to convert all the amount into values in Column "K9"
I need a macro who convert all the F column values in to K column, and
when I run the same macro it will copy all the values in "L" column
and when I run the same macro it will copy into "M" column and so
on.......


Because I want to keep all these values in histry all the Closing
Balance for all Months to view it later on.


hope you understand...


column "F"
====================
Closing Balance (MAY 08)
====================
4,357.66
8,320.46
8,097.88
2,835.97
27,708.10
2,007.47
11,067.17
57,558.05
-
2,579.00
-
-
1,387.28
123,010.95
26,018.83
-
3,293.80


If this procedure is possible. pls send suggessions.


best Regards


Syed Shahzad
Madinah- Hide quoted text -


- Show quoted text -


Hi,

I used the above code, but it is giving Error. "Variable is not
defined"

how to fix this.

regards

shahzad

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Copy / Past problem.

On Jun 4, 3:16*pm, "Don Guillett" wrote:
Sub copytolastcolplus1()
Dim lc As Long
lc = Cells(1, Columns.Count).End(xlToLeft).Column + 1
Columns(lc).Value = Columns("f").Value
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
wrote in message

...
On Jun 3, 7:00 pm, "Don Guillett" wrote:





Assumes something in range("j1") to start with
Copies all of column F to col K, then col L, etc


Sub copytolastcolplus1()
lc = Cells(1, Columns.Count).End(xlToLeft).Column + 1
Columns(lc).Value = Columns("f").Value
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
wrote in message


...


Hi,
I prepared Inventory Report through some formulas.
the last column of my inventory report is "F" column for the closing
balance. there is a formula in F column, =C15+D15-E15 in entire
column. from F9 till F48.


(I know special past for the values.) ALT E+S+V


I want to convert all the amount into values in Column "K9"
I need a macro who convert all the F column values in to K column, and
when I run the same macro it will copy all the values in "L" column
and when I run the same macro it will copy into "M" column and so
on.......


Because I want to keep all these values in histry all the Closing
Balance for all Months to view it later on.


hope you understand...


column "F"
====================
Closing Balance (MAY 08)
====================
4,357.66
8,320.46
8,097.88
2,835.97
27,708.10
2,007.47
11,067.17
57,558.05
-
2,579.00
-
-
1,387.28
123,010.95
26,018.83
-
3,293.80


If this procedure is possible. pls send suggessions.


best Regards


Syed Shahzad
Madinah- Hide quoted text -


- Show quoted text -


Hi,

I used the above code, but it is giving Error. *"Variable is not
defined"

how to fix this.

regards

shahzad- Hide quoted text -

- Show quoted text -


Hi Don,

I checked your code, it is working perfectly. Thank you for your
support.
Exactly I need the same code. thanks again.

Best Regards.

Syed Shahzad Zafar
Madinah


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Copy / Past problem.

Glad to help. Pls TOP post

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

wrote in message
...
On Jun 4, 3:16 pm, "Don Guillett" wrote:
Sub copytolastcolplus1()
Dim lc As Long
lc = Cells(1, Columns.Count).End(xlToLeft).Column + 1
Columns(lc).Value = Columns("f").Value
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
wrote in message

...
On Jun 3, 7:00 pm, "Don Guillett" wrote:





Assumes something in range("j1") to start with
Copies all of column F to col K, then col L, etc


Sub copytolastcolplus1()
lc = Cells(1, Columns.Count).End(xlToLeft).Column + 1
Columns(lc).Value = Columns("f").Value
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
wrote in message


...


Hi,
I prepared Inventory Report through some formulas.
the last column of my inventory report is "F" column for the closing
balance. there is a formula in F column, =C15+D15-E15 in entire
column. from F9 till F48.


(I know special past for the values.) ALT E+S+V


I want to convert all the amount into values in Column "K9"
I need a macro who convert all the F column values in to K column, and
when I run the same macro it will copy all the values in "L" column
and when I run the same macro it will copy into "M" column and so
on.......


Because I want to keep all these values in histry all the Closing
Balance for all Months to view it later on.


hope you understand...


column "F"
====================
Closing Balance (MAY 08)
====================
4,357.66
8,320.46
8,097.88
2,835.97
27,708.10
2,007.47
11,067.17
57,558.05
-
2,579.00
-
-
1,387.28
123,010.95
26,018.83
-
3,293.80


If this procedure is possible. pls send suggessions.


best Regards


Syed Shahzad
Madinah- Hide quoted text -


- Show quoted text -


Hi,

I used the above code, but it is giving Error. "Variable is not
defined"

how to fix this.

regards

shahzad- Hide quoted text -

- Show quoted text -


Hi Don,

I checked your code, it is working perfectly. Thank you for your
support.
Exactly I need the same code. thanks again.

Best Regards.

Syed Shahzad Zafar
Madinah

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
To Stan Brown From Robert11 Re Copy & Past Problem Robert11 New Users to Excel 1 February 13th 08 06:36 PM
Copy and Past Joe Excel Discussion (Misc queries) 1 August 17th 06 02:10 AM
get past one problem, and run across another rjmckay Excel Discussion (Misc queries) 3 June 11th 06 07:04 PM
problem with code. past link instead of copy Paul Excel Programming 0 April 20th 06 08:57 AM
Copy and past drawing objects name problem mihai[_2_] Excel Programming 0 July 29th 04 08:08 AM


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