[mso] Excel VBA Code

  • From: "Herbert Chitate" <herbertc@xxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 4 Nov 2009 12:05:08 -0000

Hi All,

I have a magazine indexing spreadsheet that I am trying to sort and was
wondering if one of you good folks could help me with the code to part
automate this process.

To visualise this, think about the index page at the back of a book or
magazine.

In Column A, I have the description of the item.
In Column B, I have the first page number that that item is on.
In columns C to AR I have any other page that this item is also on.

From this, I need to come up with a list with columns A & B only.

* I therefore looking for a vba code that will insert 41 rows (for
contents of c to ar)

* copy the contents of cells along column c to ar vertically in column b

* go to the next item in column a and repeat this process, until the
whole worksheet is complete (file has 1300 rows)

Any help that I can get will be much appreciated.

Thanks

Herbert



______________________________________________________________________
This e-mail, plus any files attached, may be confidential and is intended 
solely for the addressee.  Please contact the sender if you have received this 
message in error. We recommend that recipients virus check all e-mails and 
files received 

As a public sector Organisation, YPO may be required to disclose this email [or 
any response to it] under the Freedom of Information Act 2000, unless the 
information in it is covered by one of the exemptions in the Act.

For the full disclaimer please access http://www.ypo.co.uk/e-maild
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to share files with the group, you must join our Yahoo sister group. 
 This group will not allow for posting of emails, but will allow you to join 
and share problem files, templates, etc.:  
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE 
SHARING ONLY.

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: