Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
Is there a way to obtain or export codes from modules from a closed workbook. The modules do not have password protection. Thanks for your help. A Silsila |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
for a start, how would you reference a closed workbook.
so no, I doubt you can do that. -- Regards, Tom Ogilvy "A1silsila" wrote in message ... Hi All, Is there a way to obtain or export codes from modules from a closed workbook. The modules do not have password protection. Thanks for your help. A Silsila |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If the data is structured, you could read it using ADO.
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "A1silsila" wrote in message ... Hi All, Is there a way to obtain or export codes from modules from a closed workbook. The modules do not have password protection. Thanks for your help. A Silsila |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can ADO really read source code from a closed Workbook? Amazing!
-- Rob van Gelder - http://www.vangelder.co.nz/excel "Bob Phillips" wrote in message ... If the data is structured, you could read it using ADO. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "A1silsila" wrote in message ... Hi All, Is there a way to obtain or export codes from modules from a closed workbook. The modules do not have password protection. Thanks for your help. A Silsila |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes, it is just another data source. There is an ODBC and an OLEDB Data
provider that can provide the access. You can even read text files, even Active Directories. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Rob van Gelder" wrote in message ... Can ADO really read source code from a closed Workbook? Amazing! -- Rob van Gelder - http://www.vangelder.co.nz/excel "Bob Phillips" wrote in message ... If the data is structured, you could read it using ADO. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "A1silsila" wrote in message ... Hi All, Is there a way to obtain or export codes from modules from a closed workbook. The modules do not have password protection. Thanks for your help. A Silsila |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does this mean I have to rewrite my VBA in columns or is there some
other way of structuring it? Bob Phillips wrote: Yes, it is just another data source. There is an ODBC and an OLEDB Data provider that can provide the access. You can even read text files, even Active Directories. |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I won't believe it until I see it :)
I've seen OLEDB pull data from worksheets cells, but have never seen OLEDB pull VBA code from modules. I would be interested in seeing samples which extracts VBA code from a closed workbook. Which OLEDB provider handles this? -- Rob van Gelder - http://www.vangelder.co.nz/excel "Bob Phillips" wrote in message ... Yes, it is just another data source. There is an ODBC and an OLEDB Data provider that can provide the access. You can even read text files, even Active Directories. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Rob van Gelder" wrote in message ... Can ADO really read source code from a closed Workbook? Amazing! -- Rob van Gelder - http://www.vangelder.co.nz/excel "Bob Phillips" wrote in message ... If the data is structured, you could read it using ADO. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "A1silsila" wrote in message ... Hi All, Is there a way to obtain or export codes from modules from a closed workbook. The modules do not have password protection. Thanks for your help. A Silsila |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think we are talking cross-purposes Rob<vbg. I interpreted codes from
modules as data from worksheet modules, you (probably correctly now that I read it again) as code (as in the collective singular) from VBE modules. If you are right (probably correctly now that I read it again) forget what I have said. I thought it odd that you were not aware of that <G. Oh well, all good fun. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Rob van Gelder" wrote in message ... I won't believe it until I see it :) I've seen OLEDB pull data from worksheets cells, but have never seen OLEDB pull VBA code from modules. I would be interested in seeing samples which extracts VBA code from a closed workbook. Which OLEDB provider handles this? -- Rob van Gelder - http://www.vangelder.co.nz/excel "Bob Phillips" wrote in message ... Yes, it is just another data source. There is an ODBC and an OLEDB Data provider that can provide the access. You can even read text files, even Active Directories. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Rob van Gelder" wrote in message ... Can ADO really read source code from a closed Workbook? Amazing! -- Rob van Gelder - http://www.vangelder.co.nz/excel "Bob Phillips" wrote in message ... If the data is structured, you could read it using ADO. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "A1silsila" wrote in message ... Hi All, Is there a way to obtain or export codes from modules from a closed workbook. The modules do not have password protection. Thanks for your help. A Silsila |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
GL Codes | Excel Worksheet Functions | |||
Help with codes please!! | Excel Discussion (Misc queries) | |||
Zip Codes | Excel Discussion (Misc queries) | |||
Zip Codes | Excel Discussion (Misc queries) | |||
where are my VB codes | Excel Programming |