How to protect Excel workbook using VBA?

I agree with @Richard Morgan … what you are doing should be working, so more information may be needed. Microsoft has some suggestions on options to protect your Excel 2003 worksheets. Here is a little more info … From help files (Protect Method): expression.Protect(Password, Structure, Windows) expression Required. An expression that returns a Workbook object. … Read more

Concatenate multiple ranges using vba

Here is my ConcatenateRange. It allows you to add a seperator if you please. It is optimized to handle large ranges since it works by dumping the data in a variant array and working with it within VBA. You would use it like this: =ConcatenateRange(A1:A10) The code: Function ConcatenateRange(ByVal cell_range As range, _ Optional ByVal … Read more

Programmatically Export SSRS report from sharepoint using ReportService2010.asmx

I do this for my work currently with VS 2012 .NET 4.5 for reporting automation for PDF reports. A. For ease of use compiling your own proxy class is easier than referencing the web service each time as you may forget the service name. From Visual Studio Command Prompt: wsdl /language:CS /n:”Microsoft.SqlServer.ReportingServices2010″ http://<Server Name>/reportserver/reportservice2010.asmx?wsdl reference: … Read more