Does anyone have the code for creating a spreadsheet from scratch in
VB code. I have it very close, but it fails (ex.message is cant update
readonly)

        Dim username As String = "mygm...@gmail.com"
        Dim password As String = "mypassword"

        Dim Service = New Google.GData.Spreadsheets.SpreadsheetsService
("MyTestSpreadSheet")
        Service.setUserCredentials(username, password)

        Dim query As SpreadsheetQuery = New SpreadsheetQuery()
        Dim MySprShfeed As SpreadsheetFeed = Service.Query(query)
        Dim mySheet As SpreadsheetEntry = Nothing

        Dim MyNewsheet As WorksheetEntry = New WorksheetEntry(5, 3,
"MyTestWorkSheet")
        Dim createdWorksheet As WorksheetEntry = DirectCast
(MySprShfeed.Insert(MyNewsheet), WorksheetEntry)

--

You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to google-docs-data-a...@googlegroups.com.
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en.


Reply via email to