![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Ireland
Posts: 107
|
How do u read the contents of cells from a spreadsheet and place it on a user form in VB6. I can do it in VBA but not in VB6. Any help appreciated. Thanks,
__________________
[Brian] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
So you're gonna jump right into the frying pan? Open MSDN and search "excel automation example"
If you need more help, just say so. Tom |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Ireland
Posts: 107
|
I did use it with access with no problems before i found it easy enough its just i didnt understand how to link cells to the userforms!
__________________
[Brian] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
VB forms are quite a bit different then designers userforms. You can do alot more with 'em.
Did you find the code example in MSDN? Tom |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: Ireland
Posts: 107
|
Couldn't find MSDN where would that be found in it. Its only the working model if that means anything. Ill have a proper version tomorrow to mess around with
__________________
[Brian] |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Yeah Brian.
The working model has no help files. I can post an example or two using VB to automate Excel. There's probably a million others on the web as well. Here's the one example from MSDN
[ This Message was edited by: TsTom on 2002-05-13 10:22 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|