Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dynamically filling a static name (for querying an Excel range)


keepITcool...good points, I'll hopefully address those in this response.
If you couldn't tell, I am somewhat new to this.

Some of your Range references are unqualified. For instance, if you were
on
a sheet other than "sheetname" it would cause problems.

Oops, I was using "sheetname" in a generic sense. Yes, it is set to my
specific sheet's name. I can see the confusion because I was explicit
with my Range.

Question 1: You are correct, the headers are part of the Edb. Just so
we're clear, I wasn't the one who created this db, I was just assigned
to create a data entry form and report from it.

Question 2:
Drat, I should've been more specific, my bad. I was assuming anyone
using it would put it where ever they needed it. The code is executed
in the _BeforeClose event because the user can also edit their data
i.e. the data entry form isn't used. The data set is rather small
(<400 rows and < 52 columns).

Don't use the Select method unless you have a good reason. This isn't
one.

Please explain why. I do understand your line of code, just wondering
how one knows when to use Select?

Thanks!


--
Air_Cooled_Nut


------------------------------------------------------------------------
Air_Cooled_Nut's Profile: http://www.excelforum.com/member.php...o&userid=15730
View this thread: http://www.excelforum.com/showthread...hreadid=273685

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
Filling Cells with one Static Cell miscofficestaff Excel Worksheet Functions 3 July 19th 06 10:06 PM
Querying a range returned by another function Bill Steamshove Excel Worksheet Functions 2 April 9th 06 04:56 PM
Querying a range within Excel David Wright Excel Worksheet Functions 0 February 1st 06 07:50 PM
Right Filling A Formula Whilst Keeping A Static Column kevtherev Excel Discussion (Misc queries) 4 September 29th 05 10:18 PM
Dynamically filling a static name (for querying an Excel range) Air_Cooled_Nut[_6_] Excel Programming 3 October 29th 04 09:57 PM


All times are GMT +1. The time now is 11:31 PM.

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"