Hi, Currently im learning to use the spreadsheet inside a userform but when I try to set a range variable to the sheet I get an error.
dim rangex as range
set rangex = myspreadsheet.sheets(1).range("A1")
Currently Im working with dim rangex as variant (which i usually do when I give up) and works but i was hoping some one could give me the correct type. thanks