ThrottleWorks
Excel Ninja
Hi,
First my apologies for asking this question. I am trying to learn VBA function.
I want to apply formatting changes to n number of worksheets in a workbook.
I have written a simple code to do it. However I am trying to do it by function.
However, I am not able to understand how to do it.
Can anyone please help me in this, will use help function as reference for future learning. Thanks.
I am using below mentioned normal code as of now. How to achieve this by using function.
First my apologies for asking this question. I am trying to learn VBA function.
I want to apply formatting changes to n number of worksheets in a workbook.
I have written a simple code to do it. However I am trying to do it by function.
However, I am not able to understand how to do it.
Can anyone please help me in this, will use help function as reference for future learning. Thanks.
I am using below mentioned normal code as of now. How to achieve this by using function.
Code:
'+Assign font, wrap text
ESRP_Sht.Select
ESRP_Sht.Cells.Font.Size = 10
ESRP_Sht.Cells.WrapText = False
Range("A1").Select
Laser_Before_Sht.Select
Laser_Before_Sht.Cells.Font.Size = 10
Laser_Before_Sht.Cells.WrapText = False
Range("A1").Select
P_I_Check_Sht.Select
P_I_Check_Sht.Cells.Font.Size = 10
P_I_Check_Sht.Cells.WrapText = False
Range("A1").Select
Note_Rate_Check_Sht.Select
Note_Rate_Check_Sht.Cells.Font.Size = 10
Note_Rate_Check_Sht.Cells.WrapText = False
Range("A1").Select
Workbook_Sht.Select
Workbook_Sht.Cells.Font.Size = 10
Workbook_Sht.Cells.WrapText = False
Range("A1").Select
Sold_Sht.Select
Sold_Sht.Cells.Font.Size = 10
Sold_Sht.Cells.WrapText = False
Range("A1").Select
'=Assign font, wrap text