View Single Post
 
Old 03-04-2014, 11:58 PM
Tyberian1988 Tyberian1988 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Mar 2014
Posts: 3
Tyberian1988 is on a distinguished road
Lightbulb How to copy format of a column using spin button

hello everybody! i'm a new member on this forum and a beginner in programming.I would like to know how to paste the format of column(a) in column(c),(d),(e)...etc using a spin button.I need an increment for the pasted format. Any help, please?
Here is a copy of my code:

Private Sub SpinButton1_SpinUp()

Columns("A").Select
Selection.Copy
Columns("C").Select

Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False

End Sub
Reply With Quote