LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default VB help SELECT COLUMN / PASTE FORMULA'S

hi, i am trying to copy formula's down a sheet (1 column), will need separate
method of: paste-special: formula, forma, both

- will use shortcut keys: alt -x.. (so this goes to a module?)
- want to paste to column, from cell selected (anywhere in column)
dynamic select rows automatically from row x to x, and paste formulas
only in rows where column A does not have a period/ "."

don't know if any of following will help, but have / starting with:
(may not apply or be correct), thanks in advance


Dim C5 As String 'top row
Dim C6 As String 'bot row
Dim C7 As String 'range top to bot, if correct
C5 = Range("C5")
C6 = Range("C6")
C7 = Range("C7")


'C5 has: =ROW($A$225)
'C6 has: =ROW($A$2042)
'C7 has: =ROW(A$225)&":"&ROW(A$2024) 'works in other vb unhide rows..


'If Target.Row < C5 Then Exit Sub 'if need any of this
'If Target.Row C6 Then Exit Sub
'If Me.Cells(.Row, "A").Value = "." Then Exit Sub

Column(ActiveCell.Row).Select 'PROBLEM? maybe wrong, trying to
select 1 col in range of rows


'Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False

 
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
copy, paste and transpose formula's into work sheets Derro Excel Worksheet Functions 2 January 13th 09 12:29 PM
Check if all formula's in a column are linked to the same file/folder mohavv Excel Discussion (Misc queries) 2 May 21st 08 03:00 AM
PASTE LINK option not available when I select PASTE SPECIAL to link an image in Excel to a Word document. tln Links and Linking in Excel 0 April 22nd 07 04:28 PM
Macro - select and paste Rashid Excel Discussion (Misc queries) 1 May 21st 06 09:35 PM
select and paste flow23 Excel Discussion (Misc queries) 1 November 9th 05 05:10 PM


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