Yes, Ms. Kanika,
Under Section154 of the Companies Act, 1956 A company may, after giving not less than seven days previous notice by advertisement in some newspaper circulating in the district in which the registered office of the company is situated, close th register of members for any period not exceeding in the aggregate of forty five days in each year but not eceeeding 30days at any one time.
Therefore, for closing the register of members the advertisement in any newspaper is necessary.
YOu may go gor Record date for determination of the entitlement of dividend and for Record Date no advertisement is required.