Friday, August 31, 2012

How to Add Column Headings As Worksheets in Excel with VBA

VBA Macro to Add Column Headings As Worksheets in Excel
Sub Mac_Headings()
Dim x As Integer

For x = 1 To 5
Sheets.ADD.Name = Sheets("AAA").Cells(1, x)
Next x

End Sub

No comments:

Post a Comment

Hi User, Thank You for visiting My Blog. Please post your genuine Feedback or comments only related to this Blog Posts. Please do not post any Spam comments or Advertising kind of comments which will be Ignored.