How to Rewrite these Code?

  • Thread starter Thread starter hce
  • Start date Start date
H

hce

Hi Norman

Thanks for your advice but the problem with your advice is that beside
specifying the range, I also need to specify the worksheet... In fact,
have tried your suggestion before I post my queries...

I would also like to consult Harald but I don't know how I can get i
touch with him...

Anyway I really appreciate your help... I will just have to keep o
trying...

Cheer
 
Hi HCE,
I also need to specify the worksheet.

Try inserting:

ActiveWorkbook.Sheets("MySheet").Activate

immediately before Harald's code line:

Set Sourcebok = ActiveWorkbook


Change MySheet to the requisite sheet name.
 

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