#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default VBA edit

I received this code from Don Guillett:

Sub copyalltotheirsheets()
For Each c In Range("a2:a" & Cells(Rows.Count, "a").End(xlUp).Row)
With Sheets(CStr(c))
..Rows(2).Insert
c.Resize(, 2).Copy .Range("a2")
End With
Next c
End Sub

Currently this copies the data in row A and B. How could I include the data
in column C?

Thanks,
Reply
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
Edit? Office Lapis[_2_] Excel Discussion (Misc queries) 3 August 19th 07 11:12 PM
F2 Edit Key dr Excel Worksheet Functions 4 August 8th 07 08:36 PM
F2 Edit Key dr Excel Worksheet Functions 0 August 8th 07 07:44 PM
fx-edit teddkilroy New Users to Excel 1 April 3rd 06 05:58 PM
Why can't I edit my excel document? Edit buttons shaded. Arl @ CBC New Users to Excel 3 September 7th 05 01:18 AM


All times are GMT +1. The time now is 05:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"