B1tchQueen

Addressing and Editing Individual Cells

Sep 9th, 2015
705
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub Swap_Values
  2.  
  3. Dim doc as object
  4. Dim sheet as integer
  5. Dim cell as object  
  6.  
  7.     doc = ThisComponent
  8.     sheet = doc.sheets(0)
  9.    
  10.     cell = sheet.GetCellByPosition(0, 0)
  11.     cell.string = "test"
  12.  
  13. End Sub
Add Comment
Please, Sign In to add comment