create account

Using Combo Boxes with OpenOffice Calc: How to Add a Combo Box to an OpenOffice.org Calc Spreadsheet by dorodor

View this thread on: hive.blogpeakd.comecency.com
· @dorodor ·
$41.71
Using Combo Boxes with OpenOffice Calc: How to Add a Combo Box to an OpenOffice.org Calc Spreadsheet
The addition of a Combo box to an OpenOffice.org Calc spreadsheet can greatly improve it's user friendliness. This tutorial shows exactly how to make that happen.

OpenOffice.org Calc spreadsheets are incredibly useful - whether you're creating a business plan for your company or just working out your monthly finances at home. However, it doesn't take long until what starts out as a simple set of calculations becomes very complicated - which can be very intimidating for the new user; and that's when they need all the help that they can get: so that's also when they need a combo box adding to the Calc Spreadsheet.

<h3>What is a combo box?</h3>

A combo box is a very neat way of displaying lists of data - instead of displaying the data in columns, the data is displayed in a drop down box; this combo box will contain a list of information (for example a list of names) but the list is only displayed if the user clicks on the combo box itself. The user may then select one of the items in the list to be used elsewhere in the Calc spreadsheet.

<center>![](https://steemitimages.com/DQmb7sAAkYpsGEBRJB8amJxYw2zteHmJ26EFRtnLDYz584d/image.png)</center>

<h3>Adding a Combo Box to a Calc Spreadsheet</h3>

Adding a combo box to a Calc spreadsheet couldn't be easier; it's just a matter of doing the following:

- click on View
- click on Toolbars
- tick Form Controls
- click on the combo box icon in the Form Controls toolbox
- use the mouse pointer to draw a combo box on the Calc sheet
- cancel the Combo Box Wizard (which is used to obtain the list from a database)

Once the combo box has been created on the Calc spreadsheet then its list of items can be created, and items selected by the user can be used elsewhere in the spreadsheet.

<center>![](https://steemitimages.com/DQmRHBjjcUZcWeRFkx9GRVCabisGQsSHZcVuJ8SgNb4RmUK/image.png)</center>

<h3>Assigning a List of Values to the Combo Box</h3>

The list of values used in an OpenOffice combo box is actually stored in a column somewhere in the spreadsheet (for example in the range H1 to H5 in Sheet2); therefore the user needs to:


- populate the range
- tell the combo box about the range of data.

Obviously the first task would be carried out by the user typing the list into the cells that make up the range; however, the second task is achieved by the user:

- right mouse clicking on the combo box
- selecting Control (which will show the combo box properties dialog box)
- clicking on the Data tab
- selecting the Source cell range and entering the address of the range of cells containing the list (for example Sheet2.H1;H5)

With the source for the list defined the user must now select the linked cell - the target cell for any user selections made with the combo box.

<center>![](https://steemitimages.com/DQmbVU9qXD11vcHukQb3qEgcLzMSUeV6z82UK8RhTxdGJ78/image.png)</center>

<h3>Defining the Linked Cell for the Combo Box</h3>

When a user selects an item from the combo box then the selected data is stored in a cell on the Calc spreadsheet - that cell is the Linked Cell. Just like the source cells the linked cell is defined in the properties dialog for the combo box; and so, if the combo box selection is to be stored in cell A1, then A1 needs to be entered as the linked cell.

<h3>Using the Combo Box</h3>

At the moment the combo box is in design mode - enabling the user to make any necessary changes; to see the combo box in action the user must click on the Design Mode On/Off icon in the Form Controls toolbox - all of the icons will be greyed out, and the combo box will now be active.

The end result is that:

- if the user clicks on the combo box then their defined list (from the source cells) will be displayed
- if the user selects one of the items in the then this selection will be automatically loaded into the linked cell


<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@dorodor/using-combo-boxes-with-openoffice-calc-how-to-add-a-combo-box-to-an-openoffice-org-calc-spreadsheet">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authordorodor
permlinkusing-combo-boxes-with-openoffice-calc-how-to-add-a-combo-box-to-an-openoffice-org-calc-spreadsheet
categoryutopian-io
json_metadata"{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":14357669,"name":"openoffice","full_name":"apache/openoffice","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/openoffice","description":"Mirror of Apache OpenOffice","fork":false,"url":"https://api.github.com/repos/apache/openoffice","forks_url":"https://api.github.com/repos/apache/openoffice/forks","keys_url":"https://api.github.com/repos/apache/openoffice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/openoffice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/openoffice/teams","hooks_url":"https://api.github.com/repos/apache/openoffice/hooks","issue_events_url":"https://api.github.com/repos/apache/openoffice/issues/events{/number}","events_url":"https://api.github.com/repos/apache/openoffice/events","assignees_url":"https://api.github.com/repos/apache/openoffice/assignees{/user}","branches_url":"https://api.github.com/repos/apache/openoffice/branches{/branch}","tags_url":"https://api.github.com/repos/apache/openoffice/tags","blobs_url":"https://api.github.com/repos/apache/openoffice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/openoffice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/openoffice/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/openoffice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/openoffice/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/openoffice/languages","stargazers_url":"https://api.github.com/repos/apache/openoffice/stargazers","contributors_url":"https://api.github.com/repos/apache/openoffice/contributors","subscribers_url":"https://api.github.com/repos/apache/openoffice/subscribers","subscription_url":"https://api.github.com/repos/apache/openoffice/subscription","commits_url":"https://api.github.com/repos/apache/openoffice/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/openoffice/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/openoffice/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/openoffice/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/openoffice/contents/{+path}","compare_url":"https://api.github.com/repos/apache/openoffice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/openoffice/merges","archive_url":"https://api.github.com/repos/apache/openoffice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/openoffice/downloads","issues_url":"https://api.github.com/repos/apache/openoffice/issues{/number}","pulls_url":"https://api.github.com/repos/apache/openoffice/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/openoffice/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/openoffice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/openoffice/labels{/name}","releases_url":"https://api.github.com/repos/apache/openoffice/releases{/id}","deployments_url":"https://api.github.com/repos/apache/openoffice/deployments","created_at":"2013-11-13T08:00:13Z","updated_at":"2017-11-28T12:31:56Z","pushed_at":"2017-12-02T23:20:47Z","git_url":"git://github.com/apache/openoffice.git","ssh_url":"git@github.com:apache/openoffice.git","clone_url":"https://github.com/apache/openoffice.git","svn_url":"https://github.com/apache/openoffice","homepage":null,"size":1578010,"stargazers_count":170,"watchers_count":170,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":117,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":117,"open_issues":3,"watchers":170,"default_branch":"trunk","score":109.62856},"pullRequests":[],"platform":"github","type":"tutorials","tags":["utopian-io","openoffice","opensource"]}"
created2017-12-05 00:14:15
last_update2017-12-05 00:14:15
depth0
children3
last_payout2017-12-12 00:14:15
cashout_time1969-12-31 23:59:59
total_payout_value30.226 HBD
curator_payout_value11.488 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,064
author_reputation4,393,192,478,685
root_title"Using Combo Boxes with OpenOffice Calc: How to Add a Combo Box to an OpenOffice.org Calc Spreadsheet"
beneficiaries
0.
accountarie.steem
weight47
1.
accountcnts
weight10
2.
accountfreedom
weight658
3.
accountknowledges
weight48
4.
accountnetuoso
weight6
5.
accounttransisto
weight70
6.
accountutopian-io
weight536
7.
accountxeldal
weight27
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,411,572
net_rshares12,735,560,703,212
author_curate_reward""
vote details (22)
@flauwy ·
Thank you for the contribution. It has been approved.

You can contact us on [Discord](https://discord.gg/UCvqCsx).
**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authorflauwy
permlinkre-dorodor-using-combo-boxes-with-openoffice-calc-how-to-add-a-combo-box-to-an-openoffice-org-calc-spreadsheet-20171207t200305403z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"busy","app":"busy/1.0.0"}
created2017-12-07 20:03:30
last_update2017-12-07 20:03:30
depth1
children0
last_payout2017-12-14 20:03:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length172
author_reputation296,259,911,900,510
root_title"Using Combo Boxes with OpenOffice Calc: How to Add a Combo Box to an OpenOffice.org Calc Spreadsheet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,701,098
net_rshares0
@utopian-1up ·
$0.16
<div class="pull-left">

![1up-logo.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1512204274/pbwgsxljk7f8ql2slbs9.png)



</div>

<div class="text-justify">

<br>

You've got a <code>1UP</code> from the @utopian-1up curation trail. __23 Utopians__ have upvoted your quality contribution to the open source community. 

<code>[Join](https://steemit.com/utopian-io/@flauwy/steemy-ep-46-how-to-create-and-follow-a-curation-trail-with-steemauto) 1UP for better posts and high curation rewards.</code>

_1UP is neither organized nor endorsed by Utopian.io!_

</div>
👍  
properties (23)
authorutopian-1up
permlinkre-dorodor-using-combo-boxes-with-openoffice-calc-how-to-add-a-combo-box-to-an-openoffice-org-calc-spreadsheet-20171207t200349938z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"busy","app":"busy/2.1.0"}
created2017-12-07 20:04:12
last_update2017-12-07 20:04:12
depth1
children0
last_payout2017-12-14 20:04:12
cashout_time1969-12-31 23:59:59
total_payout_value0.120 HBD
curator_payout_value0.039 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length570
author_reputation2,324,758,056,093
root_title"Using Combo Boxes with OpenOffice Calc: How to Add a Combo Box to an OpenOffice.org Calc Spreadsheet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,701,152
net_rshares44,662,956,153
author_curate_reward""
vote details (1)
@utopian-io ·
### Hey @dorodor I am @utopian-io. I have just upvoted you!
#### Achievements
- You have less than 500 followers. Just gave you a gift to help you succeed!
- Seems like you contribute quite often. AMAZING!
#### Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a>
- Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a>

[![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses)

**Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
properties (22)
authorutopian-io
permlinkre-dorodor-using-combo-boxes-with-openoffice-calc-how-to-add-a-combo-box-to-an-openoffice-org-calc-spreadsheet-20171208t094136327z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-12-08 09:41:36
last_update2017-12-08 09:41:36
depth1
children0
last_payout2017-12-15 09:41:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,083
author_reputation152,955,367,999,756
root_title"Using Combo Boxes with OpenOffice Calc: How to Add a Combo Box to an OpenOffice.org Calc Spreadsheet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,755,743
net_rshares0