Change link between form and subform
I have a form with a subform in it.
I would like to change the way they are linked so instead of linking from
Old ID, they link to New ID
I don't know anything about code, is there a way to just change the cell it
Bring up the properties of the subform, and change the values in 'Link Child
Fields' and 'Link Master Fields' on the Data tab of the properties dialog
box. Make sure you have the subform selected, not the form within the
> I have a form with...Lookup Ranges and return value
I have some data that looks like this...
1001399 John Doe
1001200 Bugs Bunny
I have a range of data to return the department they work in...
10011000 10012999 EAG
10015000 10015999 GMS
10013024 10013036 PILM
10013000 10013015 PILM
10013048 10013060 PILM
10013300 10013599 PILM
10013100 10013100 PILM
10013122 10013122 PILM
10013600 10013621 PILM
10014612 10014612 Other
10014700 10014725 Other
10014000 10014199 PILM
Normally I would use a sumproducts to return the deparment but they
have 1000's of entry I would have to test. So I am trying to do some
kind of lookup...How can I get only visible cells using range.get_Value?
I’ve a code on C# that reads the data from Excel’s spreadsheet.
I use Excel.Worksheet.get_Range method to get a Excel.Range object like this:
Excel.Range range = Worksheet.get_Range("A1", Missing.Value);
After I got the range I read the data into a multi-dimensional array as
saRet = (System.Object[,])range.get_Value(Missing.Value);
Everything works fine until I want to get only visible cells from the
spreadsheet. So I use the code:
range = range.SpecialCells(xlCellTypeVisible, Missing.Value);
When I try to invoke the range...Run "Workbook Open" once
I have a template that when it opens it automatically runs a macro that
allows me to type in a text box what I want to save the file as and then
saves it in the directory where I want it saved. The problem is that once it
is saved I don't want it to run the macro again when I reopen that saved
file. Should I put in the code at the end some way to deactivate the macro so
that it no longer automatically runs when opening that newly saved file?
If, as part of your routine, you were to write the filename to a
specific cell in your workbook before saving, t...linking #4
I am trying to link and .slk file to a .xls file all the
links appear to be updating but i keep getting a message
that excel cannot update 1 or all of the links. Is this
common when linking with an .slk because i have several
linked wrk books and have never had this problem.
I am just starting Office 2010 Beta and workbooks are a crappy gray --how to
Try posting to the Office 2010 forums:
please reply to the newsgroup so all may benefit.
"JohnBee" <JohnBee@discussions.microsoft.com> wrote in message
> I am just starting Office 2010 Beta and workbooks are a crappy gray --how
...Format Cell as True/False
OK. It's been a while but I could've sworn that I once was able to format a
cell as a yes/no so that it appeared as a checkbox in the spreadsheet.
Is this possible or have I confused it with another application.
Sounds like you are remembering Access database tables.
> OK. It's been a while but I could've sworn that I once was able to format a
> cell as a yes/no so that it appeared as a checkbox in the spreadsheet.
> Is this possible or have I confused it with another application.
This is a multi-part message in MIME ...how do i copy a chart to another workbook
I just upgraded to Office 2007. In 2003 I was able to select move or copy on
a chart and select copy and select another workbook, and copy the chart to
that workbook. It doesn't work in 2007. What do I do?
...Running total from an edited cell
I want to keep a running total of inventory as follows:
On Hand This Shipment Quan Updated
Part # 1 10 5 update this column on
each new shipment
Part # 2 15 10
Part # 3 20 30
I will not be adding lines, just updating the "this shipment" cell for each
I am using Excel 2007 Please help !
In article <9104B5C3-CD46-460E-A939-C2B1EA736D42@microsoft.com>,
MacPack2 <MacPack2@discussions.microsoft.com> ...Linked Forms
Hello, I am doing a project that requires two forms.. The first form
contains the data for a business the second form contains data for the
How do I link the two forms together...?
Send a common key piece of data from the first form (say the company name) to the second form page and include it in the second form
as a hidden form field
(then if using a database to store the results link with a relationship the 2 results tables by the common field)
For form passing information see http://irt.org/articles/js063/index.htm
____...Text on cart based on data in a cell
I have a chart on a separate sheet witch is based on a filtered list on
another sheet. I would like to label my chart to show witch filter as been
applied, is this possible? (Ho, and if so, how would I do it?)
Thanks for any help.
Select the chart, press the equal key, then select the cell with a
mouse. This adds a text box in the middle of the chart, which you can
move around and format as needed.
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
> I have a chart on a separate s...Links not linking
I have written a fairly big spreadsheet linking through the pages with SUM,
SUMIF and SUMPRODUCT formula's
What I am now finding is that when I update one page it doesn't update the
rest, even if I am only typing in a figure to the SUM function.
I have check and the calculations function is on automatic.
is there a fix or something that I could run to make sure that all the
formulas are working correctly.
Just a guess (since you already checked tools|options|calculation tab).
How about selecting all the cells (ctrl-a (twice in xl2003)) and then
what: ...how do i set up drop down menus to populate cells in excel?
I'm trying to build a database in excel, and to aide data inputting, i'm
trying to figure out if you can use drop down menu's like in the form view of
access. eg in access you list all the possble responses and add this to the
drop down menu for selection to populate the field so you don't have to type
it out again. I'm using excel because several people will need access to the
file and not many use access. Is it possible to do this in excel???
You can use Data Validation to create dropdown lists. There are
instructions in Excel's help, and here:
h...AutoFilter method of Range class failed
I'm trying to automate some formatting of an Excel 2007 workbook using
VB.NET in Visual Studio for Applications to run as a Script Task in SqlServer
Integration Services. I have a fairly simple range, and I'm able to do
everything I want with it, except for Autofilter. I've tried various methods
for specifying the range (explicit, A1, UsedRange, Columns, etc.) No matter
what I do, I keep getting an exception with the message of "AutoFilter method
of Range Class failed".
I've declared variables for the application, workbook, worksheet, and r...Excel 2003- Tabbing to a specific location in a cell
I have created a template and I want to be able to fill in parts of the
by just tabbing and the cursor to move to the next cell...and to a specific
area in the cell...how do i set up my template to do this?
THanks so much
unlock the cells you want to tab to. leave the other cells protected. then
protected the sheet.
"monty the magician" <monty the firstname.lastname@example.org> wrote in
>I have created a template and I want to be able to f...Linked Table Manager in ACCESS
I am trying to change a field in an ACCESS table and get an error message
that says the table is a linked table and fields can't be changed. After
googling for some answers, I think I should be able to find out the link
using "Linked Table Manager" in ACCESS. However, the "Linked Table Manager"
button is grayed out. Any ideas/suggestions are welcome.
Open the table in Design View. Reduce the window so that you can see the
window's top bar. Right click in the top bar of the window (usually blue in
color) and select ...Cell grouping
This is the problem. I have 5 columns that are in this order, Date
Req.#, Requestor, Dept. and notes. I need to know how to arrange th
entire row where the departments are grouped together with th
corresponding information. The dates are not important as this repor
is quarterly; I know how to sort a column by itself but not the entir
> I should add that usually Excel is smart enough to know that when you
> one column of information to sort, and it is contiguous with other
> with data in them, to grab them a...Link To A Cell From Chart
I have a text box in a chart worksheet. Can I link it to an information from
any cell in other worksheet in the same workbook.
Yes. Click the text box icon, then click on the chart sheet to insert the
text box. Click in the formula bar and =Sheet1!A2 (or whatever cell you want
Greeting from the Gulf Coast!
"Salza" <email@example.com> wrote in message news:firstname.lastname@example.org...
> Hi all.
> I have a text box in a chart worksheet. Can I link it to an information
> any cell in other worksheet in...Copy-Paste Value based on user defined range
I am trying to create an option such that, the user can input a default
value in one cell, enter a start year, and the number of years he wants
to assign this value for.
A B C
1 Value Start Year # of Years
2 500 2005 5
Apply 500 starting in 2005 for the next five years including 2005.
I am working in Excel2000. Thanks for your help
It is very critical for my business to learn the basics
and the backbone of links in Excel. Are there any
tutorials or articles that gives wealth of information
about MS Excel links? (in Excel 9.0.6)
Web addresses are also welcome.
You can also post to my e-mail above.
Thank you in advance.
I would advise you go to the newsgroup "microsoft.public.excel.links", and
read everything you can about their troubles there and the
Vaya con Dios,
"Mustafa" <email@example.com> wrote in messag...Linked Tables Over A LAN
Hi, I have a problem with a PC that is sharing an Access database over
a LAN. I'm hoping someone may be able to give me a little advice. By
the way, I'm a bit of an amatuer so go easy on the technical
I've got four PCs networked through a router which provides internet
access. Two PCs are running XP Pro and two are running Vista Business
32bit. One Vista machine holds my full database while the other PCs
have a similar database but with tables linked to the first machine.
Been running this setup for several years, on various older PCs, with
My proble...converting cell data / opposite?
Hello Excel gurus...
I have a cell/column containing a persons name:
I'd like to convert cell/column to read:
What formula is used in order to make this happen?
I've tried left/right/len commands out the wazzoo (technical word) - I
in another cell use
=RIGHT(C14,FIND(" ",C14)-1) &", " & LEFT(C14,FIND(" ",C14))
where C14 has the original data in it
"Jorge" <firstname.lastname@example.org> wrote in message
> Hell...Copying large formulas, external references?
I have worksheets that refer to a external file for the
When I copy the worksheet it refers to that same months
file instead of the current one that I want.I need to
update the formula from month to month, how do I do that?
I think edit/Links will allow you to change as you wish
On Wed, 1 Oct 2003 23:34:51 -0700, "Kamila" <email@example.com>
>I have worksheets that refer to a external file for the
>When I copy the worksheet it refers to that same months
>file instead of the current one that I want.I need to
>upd...Find cells that contain text
Hi, as part of a loop I am trying to find cells that contain a string and
then copy some adjacent cells into another sheet. I can do the copy part no
problem but I am struggling with finding the string, I am using the InStr
command but not sure if I ma making this to complicated, this is code I am
struggling with :
If InStr(string, Cells(bb, 65)) = 1 Then
With string being the string I am searching for and bb being the row number
and part of the loop
The formula will recognise a complete string, but not part of string i.e.
String = abcd_
Cell contains abcd_ match and I ca...Links
Every time I open a spesific workbook, I get the question if I want t
use the old or the new data. This is very irritating! How do I disabl
the link that is the reason for this message??? Please help me befor
this drives me CRAZY!!
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com
You will have a formula somewhere within the wordbook that is linked to
another workbook. You can look for them manually and the copy>paste
special>values... to kill it. or you could d...