Saving Excel Workbook in VB6

P

PM

Hi!

My Workbook is referenced in my VB program as MyWB. I save it with

MyWB.SaveAs FileName:NewName

Now I want to work with NewName. The following does not work :

Set MyWB = Excel.ActiveWorkbook (for some reason ActiveWorkbook is
empty...)

Anyone know how to reference the new Workbook ?

Pat
 

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

Top