Talk About Network

Google





Software > Access External data > Re: allow user ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 10824 of 11376
Post > Topic >>

Re: allow user to select range in Excel worksheet from Access form

by yax131@[EMAIL PROTECTED] Aug 7, 2008 at 03:06 PM

Thanks Dave! that worked. (for the record, row 1 wasn't the header
row .. the header row started on a variable row for each file to be
im****ted. BAD DESIGN, but not under my control. )

On Jul 23, 12:27=A0pm, Klatuu <Kla...@[EMAIL PROTECTED]
> wrote:
> Yes it changes things.
>
> First, are you starting in A2 because row 1 is header info?
> That is okay, but be aware in TransferSpreadsheet, one of the options is
> whether or not the first row im****ted is the field name for the column.
=
=A0If
> you are im****ting into an existing table, you set that to False and it
wi=
ll
> use the field names defined in the table. =A0If you im****t to a new
table=
, you
> will end up with field names F1, F2, F3, etc.
>
> But the simple answer is you can define the range in the
> TransferSpreadsheet. =A0For example, if you wanted to start at row 20
and
> im****t columns C through Z, you would use somethingl like:
>
> docmd.TransferSpreadsheet acIm****t,,"_boo","c:\do***ents and
> settings\XXXX\my do***ents\Project Listing Re****t
2008.xls",false,"C20:Z"
>
> --
> Dave Hargis, Microsoft Access MVP
>
 




 5 Posts in Topic:
allow user to select range in Excel worksheet from Access form
yax131@[EMAIL PROTECTED]   2008-07-23 10:26:38 
RE: allow user to select range in Excel worksheet from Access fo
=?Utf-8?B?S2xhdHV1?= <  2008-07-23 11:26:08 
Re: allow user to select range in Excel worksheet from Access fo
yax131@[EMAIL PROTECTED]   2008-07-23 12:05:45 
Re: allow user to select range in Excel worksheet from Access fo
=?Utf-8?B?S2xhdHV1?= <  2008-07-23 12:27:01 
Re: allow user to select range in Excel worksheet from Access fo
yax131@[EMAIL PROTECTED]   2008-08-07 15:06:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 23:51:49 PST 2009.