Put this at the very top of the code module above all the procedures.
Dim X as String
This will declare the variable X and it will be accessible to the other procedures within the code module.
Put this at the very top of the code module above all the procedures.
Dim X as String
This will declare the variable X and it will be accessible to the other procedures within the code module.
Surround your VBA code with CODE tags e.g.;
[CODE]your VBA code here[/CODE]
The # button in the forum editor will apply CODE tags around your selected text.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks