Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Lambodar Eng.   on Sep 08 In MS Office Category.

  
Question Answered By: Vilhelm Fischer   on Sep 08

Let's say your sheet naming is in the form: "Room101" and hat your form  has
a field called intRoomNumber. You can select the sheet you need in VBA using
something like:

strSheetName = "Room" & str(intRoomNumber)
Sheets(strSheetName).Select

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on User Form Or get search suggestion and latest updates.


Tagged: