gilquenanoviii
New Member
- Joined
- May 18, 2022
- Messages
- 31
- Office Version
- 2021
- Platform
- Windows
Hi everyone. I am new here.
Please help me as I need to do and finish a report.
How will i be able to change the format of YTD Sales, MTD, Sales to $ currency format
and the TY vs LY LFL , Con. to Dept to Percentage Format?
Please help.
this is the formula that is in use for this message box
Sub ANKER()
Dim xRg As Range
Dim xCell As Range
Dim xStr As String
Dim xRow As Long
Dim xCol As Long
Worksheets("ELECTRONICS_DATA").Activate
Set xRg = Range("n16:m24")
For xRow = 1 To xRg.Rows.Count
For xCol = 1 To xRg.Columns.Count
xStr = xStr & xRg.Cells(xRow, xCol).Value & vbTab
Next
xStr = xStr & vbCrLf
Next
Worksheets("MAP").Activate
MsgBox xStr, vbInformation
End Sub
thank you so much in advance
Please help me as I need to do and finish a report.
How will i be able to change the format of YTD Sales, MTD, Sales to $ currency format
and the TY vs LY LFL , Con. to Dept to Percentage Format?
Please help.
this is the formula that is in use for this message box
Sub ANKER()
Dim xRg As Range
Dim xCell As Range
Dim xStr As String
Dim xRow As Long
Dim xCol As Long
Worksheets("ELECTRONICS_DATA").Activate
Set xRg = Range("n16:m24")
For xRow = 1 To xRg.Rows.Count
For xCol = 1 To xRg.Columns.Count
xStr = xStr & xRg.Cells(xRow, xCol).Value & vbTab
Next
xStr = xStr & vbCrLf
Next
Worksheets("MAP").Activate
MsgBox xStr, vbInformation
End Sub
thank you so much in advance