Populate userform spreadsheet

A

Alberto Ast

I have inserted a spreadsheet into my userform...
how do I populate it from an excel sheet?

I have an excel sheet with advance filters so after I run the filters I put
the result into a new sheet... I want this info to be loaded into my userform
spreadsheet?

What do I need to do?

Thanks,
AA
 
J

joel

You need tot copy using the clip board. Direct copying doesn't seem t
work. to use the clipboard first copy then paste. Try this

Set Dest = UserForm1.Spreadsheet1.Range("a1")

Sheets("sheet1").Range("A1:B2").Copy
Dest.Past
 

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