I am using VBA under Access and trying to print code to file by checking "Print To File" checkbox. It seems to work but I can't open the file. What file type is it and what program can open it?
Thanks
1. I am deleting a record via
DoCmd.DoMenuItem acFormBar, acEditMenu, acDelete, , acMenuVer70
2. A message is returned asking if I am sure I want to delete the record.
3. If I click "NO" I get another message: "DoCmd action canceled" with an "OK" button, waiting for a response.
MY QUESTION: IS...
1. I am deleting a record via
DoCmd.DoMenuItem acFormBar, acEditMenu, acDelete, , acMenuVer70
2. A message is returned asking if I am sure I want to delete the record.
3. If I click "NO" I get another message: "DoCmd action canceled" with an "OK" button, waiting for a response.
MY QUESTION: IS...
I get this error when trying to execute a line of code setting the Allow Additions property of a form to false in Access VBA. Can't believe I am running out of memory due to that. What can cause this error and where can I find a list of error message definitions?
Thanks in advance
I need to open and manipulate a recordset with VBA code running in Access but can’t seem to do it. To find out why, I did the following on the basis of Paul McFedries’ Absolute Beginner’s Guide to VBA:
1. Created a blank Access file
2. Created a form with a single command button
3. Saved by...
Can the tab index of controls on a form be used for indexing? For example copying the values of all controls into an array by using a for...next loop with a statement like
varrArray(I)=me.controls(I)
If not how can you move focus from one control to the next in order of the tab index?
Thanks...
Am using the following code. Actually it is more complex because it allows user's choice of both envelope size and address list, but I first want to make it work the simple way.
Private Sub MergeIt()
Dim objWord As Word.Document
Set objWord = GetObject(CurrentFolder & "Envel#10.doc")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.