Thanks!

Actually I found another solution, since I noticed that I didn't get any messages from this mailing list for at least 24 hours, so I figured that some server somewhere was down or something, but only a few hours ago I suddenly was able to download all messages.

Maybe your solution is better than mine, at least it was shorter. I did like this:

SheetName=ThisComponent.CurrentSelection.Spreadsheet.getSpreadsheet.getName
Sheet=ThisComponent.Sheets.getByName(SheetName)

Somewhat more text, but it worked... =)

But thanks again, your solution is better in many ways, so I just copied it into my macro. Hope you don't mind... =)


Johnny



Den 2006-06-22 19:46:59 skrev Oliver Brinzing <[EMAIL PROTECTED]>:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Johnny,

try

ThisComponent.getCurrentController().getActiveSheet()


Oliver

- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmteTTiyrQM/QSkURAvO7AJ9RYyCjF9QTs+dxjt4FPGwx8uhdSwCfUpwm
hL7v0fKhNnvXI3ZTVFn1EtU=
=JS+4
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to