Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
TimmerSuds
 
Posts: n/a
Default Paste Special question


I am applying a multiply - paste special into a macro. The column that I
need to update can have anywhere from 50 to 5000 rows of numbers that
need to be updated.

If I select the whole column and then apply the paste special it inputs
a 0 if there is no value to begin with.

I tried selected the skip blanks option but that didn't help.

Thanks


--
TimmerSuds
------------------------------------------------------------------------
TimmerSuds's Profile: http://www.excelforum.com/member.php...o&userid=35596
View this thread: http://www.excelforum.com/showthread...hreadid=553732

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Paste Special question

Please post your macro, or at least the relative section of it..........

Vaya con Dios,
Chuck, CABGx3



"TimmerSuds" wrote:


I am applying a multiply - paste special into a macro. The column that I
need to update can have anywhere from 50 to 5000 rows of numbers that
need to be updated.

If I select the whole column and then apply the paste special it inputs
a 0 if there is no value to begin with.

I tried selected the skip blanks option but that didn't help.

Thanks


--
TimmerSuds
------------------------------------------------------------------------
TimmerSuds's Profile: http://www.excelforum.com/member.php...o&userid=35596
View this thread: http://www.excelforum.com/showthread...hreadid=553732


  #3   Report Post  
Posted to microsoft.public.excel.misc
TimmerSuds
 
Posts: n/a
Default Paste Special question


Sub test()
'
' test Macro
' Macro recorded 6/20/2006
'

'
Range("L16").Select
ActiveCell.FormulaR1C1 = "100"
Range("L16").Select
Selection.Copy
Columns("G:G").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply, _
SkipBlanks:=True, Transpose:=False
Range("L16").Select
Application.CutCopyMode = False
Selection.ClearContents
End Sub


--
TimmerSuds
------------------------------------------------------------------------
TimmerSuds's Profile: http://www.excelforum.com/member.php...o&userid=35596
View this thread: http://www.excelforum.com/showthread...hreadid=553732

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Paste Special question

Try this variation............

Sub test2()
Range("L16").Select
ActiveCell.FormulaR1C1 = "100"
Range("L16").Select
Selection.Copy
Range("g1:g" & Cells(Rows.Count, 7).End(xlUp).Row).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply, _
SkipBlanks:=True, Transpose:=False
Range("L16").Select
Application.CutCopyMode = False
Selection.ClearContents
End Sub


Vaya con Dios,
Chuck, CABGx3



"TimmerSuds" wrote:


Sub test()
'
' test Macro
' Macro recorded 6/20/2006
'

'
Range("L16").Select
ActiveCell.FormulaR1C1 = "100"
Range("L16").Select
Selection.Copy
Columns("G:G").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply, _
SkipBlanks:=True, Transpose:=False
Range("L16").Select
Application.CutCopyMode = False
Selection.ClearContents
End Sub


--
TimmerSuds
------------------------------------------------------------------------
TimmerSuds's Profile: http://www.excelforum.com/member.php...o&userid=35596
View this thread: http://www.excelforum.com/showthread...hreadid=553732


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
Paste Special and Paste Object TrptDrBarb Excel Discussion (Misc queries) 1 January 26th 06 05:43 PM
When I special paste and transpose.... sml New Users to Excel 4 January 12th 06 12:49 AM
In Excel: Paste Special should have a "Link Value" Selection Deon Isis Excel Worksheet Functions 0 June 30th 05 02:12 PM
paste special | values should work with merged cells PastingSpecial Excel Discussion (Misc queries) 1 June 20th 05 06:51 PM
Paste Special FLKULCHAR Excel Discussion (Misc queries) 2 December 29th 04 07:19 AM


All times are GMT +1. The time now is 09:54 AM.

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"