close

First off let me say that I know that this is not a Access Forum .. but
I have tried repeated to get my data into a Access table and it is not
working.. So this is what I am hoping to accomplish in Excel... Since
my knowledge of Excel far exceeds my knowledge of Access...

What I want to do is put a command button in Access that opens an Excel
add-in spreadsheet. then it will at first prompt you to select a file to
manipulate and then when the file is opened manipulate the spreadsheet
the way that I want it to. So that I can import it into Access...
Without having to do all the crazy calculations in an Access Query ...Hopefully someone can help ....--
mseifert_99
------------------------------------------------------------------------
mseifert_99's Profile: www.excelforum.com/member.php...oamp;userid=30573
View this thread: www.excelforum.com/showthread...hreadid=502206Hi,

I think you're going to have to provide additional details. Are you
using a command button on an Access Form? Does the button run a macro or
a procedure? Are you trying to open Excel from Access (macro=RunApp
action, Shell() in VBA)? Are you trying to import data from a single
linked spreadsheet into your db? Or choose from several spreadsheet
files? What kind of file are you trying to open after you fetch the
Excel data? What kind of quot;manipulationsquot; and quot;calculationsquot; are we
talking about?

LeAnne

mseifert_99 wrote:
gt; First off let me say that I know that this is not a Access Forum .. but
gt; I have tried repeated to get my data into a Access table and it is not
gt; working.. So this is what I am hoping to accomplish in Excel... Since
gt; my knowledge of Excel far exceeds my knowledge of Access...
gt;
gt; What I want to do is put a command button in Access that opens an Excel
gt; add-in spreadsheet. then it will at first prompt you to select a file to
gt; manipulate and then when the file is opened manipulate the spreadsheet
gt; the way that I want it to. So that I can import it into Access...
gt; Without having to do all the crazy calculations in an Access Query ...
gt;
gt;
gt; Hopefully someone can help ....
gt;
gt;


Ok let see if I can answer some of this...

The command button... The command button would be in Access to open the
Excel spreadsheet that has the marco/procedure to manipulate the
data...

The file to be manipulated would be a Different Excel Spreadsheet each
time.. The spreadsheet would be coming from a piece of test equipment
that outputs the results data in spreadsheet format.... So I would need
soemthing like a Excel add-in file....The calculation/and manipulation would not be anything complicated...
An example of the calculation would be something
=max(abs(CELLquot;Xquot;:CELLquot;Yquot;) or maybe a
IF(CELLquot;Xquot;gt;CELLquot;Yquot;,CELLquot;Xquot;,CELLquot;Yquot;) and the most complicated
manipulation would deleting columns or cell with values like
=CELLquot;Xquot;... Nothing to complicated.....

Hopefully this will help some...--
mseifert_99
------------------------------------------------------------------------
mseifert_99's Profile: www.excelforum.com/member.php...oamp;userid=30573
View this thread: www.excelforum.com/showthread...hreadid=502206Hmm...helped some, but I'm still somewhat baffled. See comments inline.

mseifert_99 wrote:

gt; Ok let see if I can answer some of this...
gt;
gt; The command button... The command button would be in Access to open the
gt; Excel spreadsheet that has the marco/procedure to manipulate the
gt; data...
gt;

With you so far...you want Access to open a particular spreadsheet file
containing a previously-recorded macro/procedure.

gt; The file to be manipulated would be a Different Excel Spreadsheet each
gt; time.. The spreadsheet would be coming from a piece of test equipment
gt; that outputs the results data in spreadsheet format....

This is confusing. You mean you want to open a different workbook than
the one containing the macro? And you want to be able to dynamically
choose which spreadsheet to open?

So I would need
gt; soemthing like a Excel add-in file....
gt;
gt;
By quot;add-in file,quot; do you mean you want to create a supplemental program
with custom features? What kind?

gt; The calculation/and manipulation would not be anything complicated...
gt; An example of the calculation would be something
gt; =max(abs(CELLquot;Xquot;:CELLquot;Yquot;) or maybe a
gt; IF(CELLquot;Xquot;gt;CELLquot;Yquot;,CELLquot;Xquot;,CELLquot;Yquot;) and the most complicated
gt; manipulation would deleting columns or cell with values like
gt; =CELLquot;Xquot;... Nothing to complicated.....
gt;

As you say, these are not complex formulas and could easily be done in
an Access query as well as in Excel.Perhaps I'm not understanding you correctly. Could you elucidate?

LeAnne

全站熱搜
創作者介紹
創作者 software 的頭像
software

software

software 發表在 痞客邦 留言(0) 人氣()