HomePro
Board Regular
- Joined
- Aug 3, 2021
- Messages
- 157
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- 2003 or older
- Prefer Not To Say
- Platform
- Windows
- MacOS
- Mobile
- Web
I am trying to copy the formula in da2 to the right based on the # of columns used in row 1.
Row one will have the header inforamtio0n and as I add additional headers i would like the sheet to fill to that location.
cant get tit to work though...
Sub zzzz()
Range("dA2").Select
Selection.Copy
Range("DA2", Cells(2, Columns.Count).End(xlToLeft)).Select
ActiveSheet.Paste
End Sub
Row one will have the header inforamtio0n and as I add additional headers i would like the sheet to fill to that location.
cant get tit to work though...
Sub zzzz()
Range("dA2").Select
Selection.Copy
Range("DA2", Cells(2, Columns.Count).End(xlToLeft)).Select
ActiveSheet.Paste
End Sub