Excitation functions for the production of the 181,182m,182g,183,184g,186Re and 183,184Ta radionuclides from proton bombardment on natural tungsten were measured using the stacked-foil activation technique for the proton energies up to 40 MeV. A new data set has been given for the formation of the investigated radionuclides. Results are in good agreement with the earlier reported experimental data and theoretical calculations based on the ALICE-IPPE code. The thick target integral yields were also deduced from the measured excitation functions. The deduced yield values were compared with the directly measured thick target yield (TTY), and found acceptable agreement. The investigated radionuclide 186Re has remarkable applications in the field of nuclear medicine, whereas the data of 183,184gRe and 183Ta have potential applications in thin layer activation analysis and biomedical tracer studies, respectively.