Hello Everyone,
Is it possible to access an Excel Data Form on worksheet 1 that references a table on worksheet 3 without the user ever have to go to or see worksheet 3? If yes, please advise.
Thank you for your assistance!
Hello Everyone,
Is it possible to access an Excel Data Form on worksheet 1 that references a table on worksheet 3 without the user ever have to go to or see worksheet 3? If yes, please advise.
Thank you for your assistance!
Yeah, just create a simple macro with this code
[vba]
Worksheets(3).ShowDataForm
[/vba]
and assign it to a button.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Thanks, but I'm getting a Run-time error 9: Subscript out of range
Do you know how to correct this?
Preumably you don't have a worksheets(3).
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Here's the code I'm using:
[vba]Sub ShowCustomerDataForm()
wksCustomerListing.Activate
wksCustomerListing.ShowDataForm
End Sub
[/vba] I get the error message without the .Activate as well.
Thank you!!
Last edited by Aussiebear; 11-17-2010 at 02:45 PM. Reason: added VBA Tags to code
Without seeing the workbook, I don't have many (any?) suggestions.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber