Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
mruprai
Starting Member
12 Posts |
Posted - 2014-11-20 : 06:54:59
|
Hi - I want to create a excel workbook with a macro. which loops though a database - gets all views(with a prefix) and prints creates a sheet for each view(with the data). anybody got any sample code to help |
|
gbritton
Master Smack Fu Yak Hacker
2780 Posts |
Posted - 2014-11-20 : 09:13:23
|
What part do you need help with? The SQL query to list the views or the VBA to build the workbook? |
|
|
mruprai
Starting Member
12 Posts |
Posted - 2014-11-20 : 10:55:06
|
both if possible |
|
|
gbritton
Master Smack Fu Yak Hacker
2780 Posts |
|
|
|
|