-
WSBodders
AskWoody LoungerRob
One quick way of checking whether there is ‘rogue’ data in a worksheet is to click CTRL-END. If the selected cell is outside the area to be imported, you will need to delete some rows and/or columns. You must save the workbook after the deletion, and then try CTRL-END again. When CTRL-END selects the bottom right corner of the data to be imported, then you can proceed with the import.
Nick
-
WSBodders
AskWoody LoungerHans
Thanks for that. I added the code, but the problem was still there.
I did some more investigation on the user’s PC, and it appears there is a problem with the Access installation – she cannot create any reports at all, even on 1 table databases. Hopefully when Access has been re-installed the problem will be solved.
Nick
-
WSBodders
AskWoody LoungerFederico
If you could link the tables to SQL Server, then you could try the following method. Without knowing your exact setup this may not be entirely appropriate, but you could :
Set up a table in SQL Server which will contain your parameters (v1 and v2, etc) and a blank column for the result.
Create a function/sproc in SQL Server which will populate the blank column with the correct results
Make sure all the 400 or so rows in Excel are correctly populated with the parameters.
Have a command button which will run the code which will :
Copy the Excel sheet into the SQL Server table using ADO
Run the SQL function to poulate the results column.
Copy the fully populated table back into Excel.
This should be fast – you will only need a single connection
HTH
Nick
-
WSBodders
AskWoody LoungerAlan
In my experience, the easier way of doing this is to use Excel 2003. Click DataImport External DataNew Web query. Put in your URL, select the area of the data you need & it will download into the worksheet. You can then paste this into your Access table.
If you know enough VBA, you can automate this process. I can supply some code if you are interested.
Nick
-
WSBodders
AskWoody LoungerJanuary 16, 2008 at 1:33 pm in reply to: Anchor a new tab control to an existing tab (2000) #1092776Luke
I don’t think you can nest tab controls. You would be better off creating a subform, inserting the mini tab control on that, and then inserting the subform on the main tab control.
HTH
Nick
-
WSBodders
AskWoody LoungerHans
Thanks for that.
I managed to find something similar in the meantime which I ran after the first loop:
For intLoop = 0 To intNumFields – 1
Set txt = frm.Controls(intLoop)
Select Case intLoop
Case 0
‘Do nothing
Case 1
txt.TabIndex = intNumFields – 1
Case Else
txt.TabIndex = intLoop – 1
End Select
‘txt.Name = strName
NextThanks again
Nick
-
WSBodders
AskWoody LoungerRudi
I added StartDate and Enddate to the courses table to make this work.
If you run the query qselCountDup in the revised attachment, and put in the DelID (number), start and end dates for the proposed course you will get back the number of overlapping courses.
Nick
-
WSBodders
AskWoody LoungerRudi
Here’s a simpler version. It assumes delegates attend each day of a multi-day course, and that the course table contains a start and end date for each course.
Once you know the delegate ID, and the proposed start and end dates of the course they want to book, run this query which takes 3 parameters:
SELECT COUNT(*) FROM tblJunction j INNER JOIN tblCourse c
ON j.CourseID = c.CourseID
WHERE (([ProposedStartDate] = c.StartDate) OR ([ProposedEndDate] >= c.StartDate AND [ProposedStartDate] 0 then the delegate’s course dates overlap.Nick
-
WSBodders
AskWoody LoungerRudi
OK. In the case of courses running over more than one day I think the solution would be a new table DelegateBookedDate – this would contain one row for each day of each course for each delegate (columns would be DelID + CourseDay). This would be populated (using an Append query) when the delegate is booked on a course. You would need to add to the booking procedure a check that for a new booking for a delegate none of the days of the new course already appear in the DelegateBookedDate table.
HTH
Nick
-
WSBodders
AskWoody LoungerRudi
I think if you add the course date to the junction table and add that to the PK this should solve the problem.
Nick
-
WSBodders
AskWoody LoungerSteve
A further thought. I don’t know whether this would be applicable to your particular setup, but FWIW you could think about using VMWare Server (at vmware.com) to create a virtual PC, and run Office 2003 on your normal Pc, and Office 2007 on your virtual PC. It’s free for personal use.
HTH
Nick
-
WSBodders
AskWoody LoungerSteve
I think you need to set the value in code when you open the calendar form.
In the Open event you can add :
frmCalendar.calCalendar.Value = Date
changing the form and calendar object names as appropriate
Nick
-
WSBodders
AskWoody LoungerSteve
I am running Access 2003 and 2007 on the same PC. I do get the installation process the first time only when I run 2003 after 2007 (or vice-versa), but only the once.
I have never had 2007 crash on my PC – are you running 2003 and 2007 at the same time ? Have you tried repairing the 2007 installation ?
Nick
-
WSBodders
AskWoody LoungerIt might also be worth trying a decompile – this has helped me out more times than I care to remember :
http://www.trigeminal.com/usenet/usenet004.asp%5B/url%5D
Nick
-
WSBodders
AskWoody LoungerSomething like this should do the trick :
Forms(“yourform”).Move _
Left:=0, Top:=0, Width:=400, Height:=300HTH
Nick
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
14 minutes ago -
Stay connected anywhere
by
Peter Deegan
6 hours, 55 minutes ago -
Copilot, under the table
by
Will Fastie
1 hour, 42 minutes ago -
The Windows experience
by
Will Fastie
3 hours, 42 minutes ago -
A tale of two operating systems
by
Susan Bradley
5 hours, 40 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
9 hours, 2 minutes ago -
Where’s the cache today?
by
Up2you2
1 day ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
17 hours, 8 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
8 hours, 6 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 1 hour ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 17 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 17 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 19 hours ago -
MS Passkey
by
pmruzicka
21 hours, 8 minutes ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 2 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 13 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 1 hour ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 21 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 6 hours ago -
AI slop
by
Susan Bradley
1 day ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 7 hours ago -
Two blank icons
by
CR2
15 hours, 56 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
17 hours, 54 minutes ago -
End of 10
by
Alex5723
3 days, 19 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 17 hours ago -
test post
by
gtd12345
4 days, 1 hour ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 15 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 17 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 5 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 17 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.