Making New Macros

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to add a macro that will effectivly roll over old statistical information, from one worksheet to the next. As this will be a yearly button, I need it to be able to add this information into the next colum after each use?????
 
iCol =
Worksheets("Sheet2").Cells(1,Columns.Count).End(xlToLeft).Column+1
Columns(1).Copy Destination:=Worksheets("Sheet2").Columns(iCol)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

David said:
I am trying to add a macro that will effectivly roll over old statistical
information, from one worksheet to the next. As this will be a yearly
button, I need it to be able to add this information into the next colum
after each use?????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top