Access VBADiscuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access VBA section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
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?