Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00723229
Message ID:
00723433
Views:
7
>Nick:
> I hate to bother you with this question, but I have not idea with where to find the correct syntax for the command you told me. I tried .workbook.saved=.t. and .workbook.saved(.t.) both were not working. Could you tell the correct syntax on that?? thanks
>sherry

Hi Sherry,

"workbook" in this context means any valid expression which evaluates to the workbook object. You can refer it for example as:

oExcel.ActiveWorkbook.Saved = .t.

or

oExcel.Workbooks(1).Saved = .t. && reference through Workbooks collection

or

oExcel.ActiveSheet.Parent.Saved = .t. && Excel sheet parent is a workbook
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform