Actuarial Outpost
 
Go Back   Actuarial Outpost > Actuarial Discussion Forum > Software & Technology
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions

DW Simpson & Co
Worldwide Actuarial

Recruitment

Entry Level Jobs
Casualty, Health,

Life, Pension,
Investment --
Insurance / Consulting

Asian Jobs
Hong Kong, China, India, Japan, Korea, Indonesia, Singapore,

Malaysia, and more

Registration Form
Be Notified of

New Actuarial Jobs


Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2006, 11:56 AM
Phil's Avatar
Phil Phil is offline
Site Supporter
Site Supporter
 
Join Date: Sep 2001
Location: not on board the Enterprise
Posts: 5,664
Default Use my Access importation specs in Excel?

Hi.

I have a file importation spec that I use to import files into Access. I'd like to use the same spec to import a text file into Excel. Can I? How?

Thanks,
-Phil
Reply With Quote
  #2  
Old 06-29-2006, 12:08 PM
squareone's Avatar
squareone squareone is offline
Member
 
Join Date: May 2005
Location: Nebraska
Posts: 467
Default

Import it into access, copy the entire table and paste it into excel. QED
Reply With Quote
  #3  
Old 06-29-2006, 12:12 PM
Phil's Avatar
Phil Phil is offline
Site Supporter
Site Supporter
 
Join Date: Sep 2001
Location: not on board the Enterprise
Posts: 5,664
Default

Quote:
Originally Posted by squareone
Import it into access, copy the entire table and paste it into excel. QED
I'm trying to save a little time and memory here by not using both programs; just excel alone.
Reply With Quote
  #4  
Old 06-29-2006, 01:19 PM
Bama Gambler's Avatar
Bama Gambler Bama Gambler is offline
James Washer / Notes Contributor
SOA
 
Join Date: Jan 2002
Location: B'ham, AL
Posts: 16,136
Default

i researched this awhile back and came up with nothing.
__________________

Now offering online seminars and live seminars for the Spring 2013 exams.

Follow us on Twitter, Facebook, and LinkedIn.
Reply With Quote
  #5  
Old 06-29-2006, 02:10 PM
Griffin's Avatar
Griffin Griffin is offline
Member
 
Join Date: Feb 2002
Location: "Clown college"? You can't eat that.
Favorite beer: Skittle Bräu
Posts: 3,171
Default

Quote:
Originally Posted by Phil
I have a file importation spec that I use to import files into Access. I'd like to use the same spec to import a text file into Excel. Can I? How?
Do you mean by pointing to the spec from Excel? I don't know. But you could copy and paste the spec into Excel and use that as input for a macro.
__________________
Please rise for the Griffin theme song.
Reply With Quote
  #6  
Old 06-29-2006, 02:47 PM
DudeMan's Avatar
DudeMan DudeMan is online now
Member
 
Join Date: Jan 2006
Location: teh Po'
Studying for shts&ggles
Favorite beer: Ginger Beer
Posts: 11,533
Default

What exactly is the spec you are using? What mechanisms does it use? Also, are you trying to put it into a new excel workbook or an existing workbook?
Reply With Quote
  #7  
Old 06-29-2006, 03:19 PM
PAC PAC is offline
Member
 
Join Date: Jan 2003
Posts: 215
Default

Excel pivot's support ODBC...import into access and link via ODBC-pivotable?
Reply With Quote
  #8  
Old 06-29-2006, 07:05 PM
Random Poster's Avatar
Random Poster Random Poster is offline
Member
CAS
 
Join Date: Aug 2005
Studying for nothing!
Posts: 2,533
Default

Quote:
Originally Posted by PAC
Excel pivot's support ODBC...import into access and link via ODBC-pivotable?
What he said. Use a pivot table if you are just interested in a summary, a query table if you want the actual data. You might be able to save time/space by making the Access table linked as well.

If this is something that is used frequently then you could set a data source in your ODBC Data Source Administrator. By doing this, you could easily access the data from any application that supports ODBC.


-RP
__________________
Surprisingly, not a mute.
Reply With Quote
  #9  
Old 07-07-2006, 02:51 PM
GatesIsAntichrist's Avatar
GatesIsAntichrist GatesIsAntichrist is offline
Member
SOA AAA
 
Join Date: Mar 2005
Location: Hell (on temporary assignment on Earth)
Favorite beer: New(fave)! Black'n'Tan
Posts: 206
Default

One thing you can do is read the import specs table in Access.

SELECT Attributes, DataType, FieldName, IndexType, SkipColumn, SpecID, Start, Width
FROM MSysIMEXColumns
ORDER BY Start;

Rotsa ruck modifying it(the table), though - whether in the "advanced" area or the import wizard, or directly yourself. The M$ Deproductivity Dept. recognizes how valuable that would be and accordingly makes it nearly impossible to achieve. How many times have you had to insert a field into the middle, but were forced to reenter the entire spec?!

There are some tricks to modifiying it, though hokey, and lengthy to explain. I'll explain if someone has heavy need. Meanwhile, if one of you has found an easy way to modify that [system] table, I'd like to hear it.
Reply With Quote
  #10  
Old 07-07-2006, 03:19 PM
Phil's Avatar
Phil Phil is offline
Site Supporter
Site Supporter
 
Join Date: Sep 2001
Location: not on board the Enterprise
Posts: 5,664
Default

Wow, so suppose I have 4 or 5 different "specs" defined in Access. Are all of those specs stored in that same MSysIMEXColumns table?

Thanks very much for the idea. I will read about this hidden table on Google.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 01:11 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 0.24168 seconds with 7 queries