![]() ![]() ![]() Set db = Client.OpenDatabase( sFilename ) ' I get get an error code here, saying the database was not found or is in use.ĭim dbName As String ' Made an addition while using sFilename as a variable ( The variable sFilename then will contain the name of the database selected by the user, it was taken from your field mapping script template )Ĭall TopNExtraction() 'sFilename is the variable database name ![]() To give you more perspective this is the code i am working on: I have a doubt regarding declaring a variable in one macro script and then using the variable's value defined by the end user in the first macro in the second macro.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |