Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 7th, 2006, 10:35 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Replacing field names in datasheet

Form with ListBox on LHS, a subform in datasheet view in the middle and 3 cmdBtns on RHS.

User has imported an Excel table, visible in subform datasheet, with no headers. ‘Headers’ or FieldNames attached by Access are F1, F2……etc. and are visible as column ‘headers’ in subform datasheet.

User must now select a ‘standard header’ from the list box on the LHS, click a ‘Header’ in the datasheet e.g. F2 and click 1 of 3 cmdBtns either to attach the new header, remove a mistake or delete a column from the subform.

Please can anyone help in writing the VBA to the cmdBtn click events?

Regards

Phil
 
Old August 10th, 2006, 12:47 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Can you explain what you need?

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT For Each - Field Names lahatfield XSLT 6 May 15th, 2007 06:33 AM
Datasheet view of a Query - Field Format arfa Access 4 March 13th, 2006 12:34 PM
Get Field Names fizzerchris Classic ASP Databases 1 February 25th, 2006 05:06 AM
Dynamic Datasheet Form Field Headings Wrong pkaptein1 Access 1 June 12th, 2005 11:33 AM
replacing querystrings with fake page names mase912 C# 0 November 24th, 2004 04:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.