Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 4
Default Linking data from ComboBoxes on spreadsheet?

I have several (source) spreadsheets from several people that are saved in
the same folder. These spreadsheets are formatted the same. I have ComboBoxes
in certain cells to help keep data entered uniform for reporting purposes.

I also have a "Master Workbook" that contains a duplicate of each
(Destination) spreadsheet. To update each sheet I used the Paste Link option.
This works fine except it doesn't paste the contents of the ComboBoxes. Is
there a way to correct this? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 4
Default Linking data from ComboBoxes on spreadsheet?

I thought I might have a response by now. Am I in the correct group or should
I be in the programming group for this problem? Sorry for not being patient.

"MikeG0930" wrote:

I have several (source) spreadsheets from several people that are saved in
the same folder. These spreadsheets are formatted the same. I have ComboBoxes
in certain cells to help keep data entered uniform for reporting purposes.

I also have a "Master Workbook" that contains a duplicate of each
(Destination) spreadsheet. To update each sheet I used the Paste Link option.
This works fine except it doesn't paste the contents of the ComboBoxes. Is
there a way to correct this? Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 473
Default Linking data from ComboBoxes on spreadsheet?

I have been on vacation so only just had time to read your message.
All you can link using paste link is one cell to another.

So, the way to achieve what you want is to have the combo box on the
source sheet linked to a cell, say Z99, on the source sheet by setting
its LinkedCell property. Z99 will contain the value in the combobox if
it is a Control Toolbox combo or the ListIndex of the item selected
from the list if it is a Forms toolbar combobox.

Then on the destination sheet you have a similar combo box linked to a
cell, say Y88. And you copy Z99 from the source sheet and paste link
it into Y88 on the destination sheet. Then the destination combo
should show the same as the source combo. However, you would not be
able to change the value of the destination sheet's combo without
overwriting the formula in the linked cell - if you don't need the
combo on the destination sheet to allow selection of a different item
then you should disable it.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #4   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 4
Default Linking data from ComboBoxes on spreadsheet?

That was easy! Thank you for your help.
Since I needed the "destination spreadsheet" to update any changes made to
the "source spreadsheet", I used the Paste Link option which works fine now.
Is there any way to get rid of the zeros in the cells that data hasn't been
entered in? Can I do it by code?

"Bill Manville" wrote:

I have been on vacation so only just had time to read your message.
All you can link using paste link is one cell to another.

So, the way to achieve what you want is to have the combo box on the
source sheet linked to a cell, say Z99, on the source sheet by setting
its LinkedCell property. Z99 will contain the value in the combobox if
it is a Control Toolbox combo or the ListIndex of the item selected
from the list if it is a Forms toolbar combobox.

Then on the destination sheet you have a similar combo box linked to a
cell, say Y88. And you copy Z99 from the source sheet and paste link
it into Y88 on the destination sheet. Then the destination combo
should show the same as the source combo. However, you would not be
able to change the value of the destination sheet's combo without
overwriting the formula in the linked cell - if you don't need the
combo on the destination sheet to allow selection of a different item
then you should disable it.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup


  #5   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 473
Default Linking data from ComboBoxes on spreadsheet?

If zero would not occur in the valid data to which you are linking then
you could just use a number format to suppress the appearance of zeros
coming from the empty cells. Select the destination cells and give
them a custom number format such as 0;-0;


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking 2 spreadsheet using data from the last row of spreadsheet Mike Excel Discussion (Misc queries) 13 February 11th 09 11:48 AM
Linking 2 spreadsheet using data from 1st spreadsheet vennesse Excel Discussion (Misc queries) 1 February 11th 09 11:43 AM
Linking two spreadsheet, pulling data from one cell to another, data is being truncated Ben Excel Worksheet Functions 0 September 13th 07 11:41 PM
Is using data validation and comboboxes heretical? Jono Excel Discussion (Misc queries) 0 March 13th 06 04:09 PM
Linking Data in Access to a Spreadsheet carrol Links and Linking in Excel 4 July 21st 05 11:12 PM


All times are GMT +1. The time now is 05:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"