SBendBuckeye
Programmer
Hello all,
My next project is going to involve converting a large Excel spreadsheet to Access. Is there an Excel or Office equivalent to the Access Developers Handbook series by Getz, Litwin, etc?
In Access, I would loop through all the forms with something like this:
Dim frm As Form
Dim ctl As Control
Dim doc As Document
Dim dbs As Database
Set dbs = CurrentDB
For Each doc In dbs.Containers("Forms"
.Documents
DoCmd.OpenForm doc.Name
Set frm = Forms(doc.Name)
For each ctl in frm.Controls
'Do some processing
Next ctl
DoCmd.Close acForm, doc.Name, acSaveNo
Next doc
How do I open and spin through all of the sheets of a given workbook file in a similar manner? Where can I go to learn about working with Excel using VBA?
Any help would be greatly appreciated.
Have a great day!
My next project is going to involve converting a large Excel spreadsheet to Access. Is there an Excel or Office equivalent to the Access Developers Handbook series by Getz, Litwin, etc?
In Access, I would loop through all the forms with something like this:
Dim frm As Form
Dim ctl As Control
Dim doc As Document
Dim dbs As Database
Set dbs = CurrentDB
For Each doc In dbs.Containers("Forms"
DoCmd.OpenForm doc.Name
Set frm = Forms(doc.Name)
For each ctl in frm.Controls
'Do some processing
Next ctl
DoCmd.Close acForm, doc.Name, acSaveNo
Next doc
How do I open and spin through all of the sheets of a given workbook file in a similar manner? Where can I go to learn about working with Excel using VBA?
Any help would be greatly appreciated.
Have a great day!