Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
al al is offline
external usenet poster
 
Posts: 363
Default Populated cells

How can I determine the start and the end of populated
cells in excel from a form in access. I am using access
97.
thank you
Al
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Populated cells

possibly

set rng = xlapp.ActiveSheet.Range("A1").currentRegion

--
Regards,
Tom Ogilvy

"Al" wrote in message
...
How can I determine the start and the end of populated
cells in excel from a form in access. I am using access
97.
thank you
Al



  #3   Report Post  
Posted to microsoft.public.excel.programming
AL AL is offline
external usenet poster
 
Posts: 37
Default Populated cells

I am using the following line of code from withing access
to import from excel:

DoCmd.TransferSpreadsheet acImport, 8, Me![NewTableName],
Me![DirName], True, Me![SheetRangeName]

Me![DirName] = the file path
Me![SheetRangeName] = A named range that the user has to
enter manually.

How can I substitute the "Me![SheetRangeName]" for
whatever populated range in excel automatically?

-----Original Message-----
possibly

set rng = xlapp.ActiveSheet.Range("A1").currentRegion

--
Regards,
Tom Ogilvy

"Al" wrote in message
...
How can I determine the start and the end of populated
cells in excel from a form in access. I am using access
97.
thank you
Al



.

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
Averaging only populated cells John Excel Worksheet Functions 6 September 19th 09 02:57 PM
copy to new cells if populated srbow Excel Discussion (Misc queries) 1 April 30th 09 06:25 PM
Cells to be populated from an workbook to another. Fred's Excel Discussion (Misc queries) 1 March 12th 09 03:35 PM
how do populate empty cells with the contents of populated cells . Jim99 Excel Discussion (Misc queries) 6 April 21st 05 05:44 PM
Requiring Cells be Populated Phil Hageman[_3_] Excel Programming 7 January 10th 04 07:49 PM


All times are GMT +1. The time now is 02:17 AM.

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

About Us

"It's about Microsoft Excel"