Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to have vba apps server-side? If so, are any licenses
required? Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Office apps are by their very nature, interactive. Thus Microsoft
discourages their use on Servers. If you mean that the server has one copy on a shared drive and multiple people use it, I would think each person would need a license. -- Regards, Tom Ogilvy "DieuSoleil" wrote in message ... Is it possible to have vba apps server-side? If so, are any licenses required? Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Thanks for posting in the group! I have reviewed your thread. Currently I am finding somebody who could help you on it. We will post back in the newsgroup as soon as possible. If there is anything unclear, please feel free to post in the group and we will follow up there. Best Regards, Wei-Dong Xu Microsoft Product Support Services Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
As Tom said what do you mean by run vba server-sdie? Do you mean you wants to automation the Office product and run the vba code inside? You may try to take a look at the link first. INFO: Considerations for Server-Side Automation of Office (257757) http://support.microsoft.com/default...B;EN-US;257757 Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Peter,
As a workaround to my other question (Limitations of shared workbooks), I was wondering if it would be possible to place an excel based app (a userform which writes data to, and reads data from worksheets) on a server and thus make it available to multiple users via a url. Unfortunately I would be unable to use MS Access, but I need to capture and store all the data entered through the userform. I could use a dedicated machine for the purpose if necessary. Would this be possible, and if so how could I achieve it? Thanks again, Iain *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
From your description, it seems that you want to share a workbook with macro code among a few users, so that every user can access the workbook independently and run the macro code. Based on my test, it seems to be OK. Here is my reproduce code. [UserForm1] Private Sub CommandButton1_Click() Dim cn As New Connection cn.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind;Data Source=<computer" cn.Open Dim rs As New Recordset rs.CursorLocation = adUseClient rs.CursorType = adOpenDynamic rs.Open "Select * from customers", cn Sheet1.Cells(1, 1).Value = rs.RecordCount rs.Close cn.Close End Sub [Macro Test] Sub Test() UserForm1.Show vbModal End Sub 1. I shared the workbook on machine A(e.g. \\A\test\test.xls) 2. user A on machine B open \\A\test\test.xls and run the macro test and then click the button on the form 3. user B on machine C open \\A\test\test.xls and run the macro test and then click the button on the form All is OK. If I have any misunderstanding, please feel free to let me know. You may have a try or you may just post a reproduce code together with detailed repro steps so that we can do further troubleshooting. Also I have reviewed your another post "Limitations of shared workbooks", it seems that the two ones are related, so I will follow you up here and close that one first. If you have any concern, please feel free to let me know. Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Peter,
I have discovered that the problem is caused when any of the following attributes of QueryTables are present: .FieldNames .PreserveFormatting .SavePassword .SaveData It doesn't appear to matter whether these are set to True or False: in a shared workbook their presence kills my Sub. Thanks for all the help. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I can reproduce the problem on my side, now I am researching the problem, if I have any new information, I will update you ASAP. Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Iain,
As I understand, currently you has one server which can run Access, Excel and has some data. Now you want you web client users can view and input some data into that Access database or Excel work book, right? If that, that is typically a asp or asp.net web application model. Please don't use Access, Excel in server side. That is not a good practice. The best way is to devise a web application so that you web client can input/view data in server side Access and Excel. All that your client needs is a web browser such as IE. They don't need Access or Excel installed. The following are some good articles for your reference: "HOWTO: Use ASP to Query and Display Database Data in Excel" http://support.microsoft.com/?id=189198 "HOWTO: Query and Update Excel Data Using ADO From ASP" http://support.microsoft.com/?id=195951 "HOW TO: Query and Display Excel Data by Using ASP.NET, ADO.NET, and Visual C# .NET" http://support.microsoft.com/?id=306572 "HOW TO: Retrieve and Display Records from an Access Database by Using ASP.NET, ADO.NET, and Visual C# .NET" http://support.microsoft.com/?id=308100 "HOW TO: Update Information in a Microsoft Access Database Using ASP in FrontPage 2000" http://support.microsoft.com/?id=240090 and etc. If you are not familar with asp or asp.net programming, you may need to buy some books and learn from it first. Hope that helps. Best regards, Yanhong Huang Microsoft Community Support Get Secure! ¨C www.microsoft.com/security Register to Access MSDN Managed Newsgroups! -http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.as p&SD=msdn This posting is provided "AS IS" with no warranties, and confers no rights. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I have dual monitors, how can I view excel workbooks side by side | Excel Worksheet Functions | |||
Help - Alt-E hotkey does not work in MSOffice apps, no prob in other apps | Excel Discussion (Misc queries) | |||
How2 setup one page distribution report side by side results | Charts and Charting in Excel | |||
Display columns side by Side in the Data Area of a Pivot table | Excel Discussion (Misc queries) | |||
How to print 2 Excel pages side by side on 1 printed page? | Excel Discussion (Misc queries) |