Op 21-03-07 heeft vdven2 <[EMAIL PROTECTED]> het volgende geschreven:

Hallo,

Je kunt in een werkblad een "knop"plaatsen. Door op de knop te
klikken kom je dan meteen op een ander tabblad terecht. Ik wil graag
de verwijzing die aan de "knop"zit veranderen.

(view rn dan form control geeft het menu om een knop te maken )

ik hoop dat het nu wat duidelijker is


>>Hallo,
>>
>>Ik heb een werkblad met een knop gekregen. Ik wil de pagina (tabblad)
>>waar de knop naar verwijst veranderen. kan dat, zo ja hoe?
>>
>>bedankt
>>
>>Ryan
>
>Ryan, je vraag is niet erg duidelijk.
>Wat bedoel je met die knop?


Bedankt voor de verduidelijking,
Je kan zowat alle elementen van een knop veranderen via het contextmenu:
rechtsklikken (of control-klikken) op de knop
Ben zelf niet beslagen in het gebruik ervan... maar blijkbaar zal je de
macro moeten aanpassen die achter de knop zit

de knowledgebase (http://mindmeld.cybersite.com.au/) geeft volgend antwoord:

Answer #490 : Buttons in Spreadsheet This is a complex subject. Here will
be placed some common questions:

(Q) Making a button to jump to another sheet in the workbook.
(A) This requires a macro tied to the button.

* Create a new macro (Tools -> Macros -> Macro) and place the code below
into i

Sub JumpToSheet(oEvent)
sSheetName = oEvent.Source.Model.Name
oSheet = ThisComponent.sheets.getByName(sSheetName) ' a sheet in the
current document
oController = ThisComponent.getCurrentController() 'view controller
oController.setActiveSheet(oSheet) 'switches view to sheet object
End Sub

* Make a button, then call up its control properties (left click ->
Control)
* In the General Tab in "Name" place the EXACT name (very important), of
the sheet you want it to jump to when pressed.
* Call up the In the Events Tab, select "Mouse Button Released" as the
event, then in Macros, navigate to the macro you just made earlier and
double-click, it will now show in the Even window as having being assigned.
Click Ok and you should be away.


hopelijk helpt dit
--
Guy
using dutch OOo 2.2 RC 3 on a iMac Intel DualCore Tiger
and dutch OOo 2.2 RC 3 on a G4 PPC Powerbook Tiger
-- please reply only to [email protected] --
Dodoes can't afford to have headaches

Antwoord per e-mail aan