Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Magenta Ricci   on Mar 04 In MS Office Category.

  
Question Answered By: Sonya Flores   on Mar 04

Replace
Worksheets(Data(i)).Range("a1").PasteSpecial

With
Worksheets(CStr(Data(i))).Range("a1").PasteSpecial

A string is expected instead of an integer. Hope this helps.

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Problem copying/pasting with variable in worksheet name Or get search suggestion and latest updates.


Tagged: