MAHAVISHNU
New Member
- Joined
- May 31, 2018
- Messages
- 5
Dear All,
I have few doubt in VBA. when ever I write the VBA code i am getting Auto Properties list after dot(.). for some cases i could not the list while writing the code. but there is no error. even if I run the code I am getting the result. there is no error in code. But why the Auto properties not coming some times. this make me lot of trouble which very difficult to fin the properties.
Here i have few sample code.
in the below code I set the source worksheet. now i want to set the range from the source sheet. when I enter the code i am not getting the range properties after dot.
please clarify what i have missed in VBA procedure.
thank,
Regards,
C.Mahavishnu
I have few doubt in VBA. when ever I write the VBA code i am getting Auto Properties list after dot(.). for some cases i could not the list while writing the code. but there is no error. even if I run the code I am getting the result. there is no error in code. But why the Auto properties not coming some times. this make me lot of trouble which very difficult to fin the properties.
Here i have few sample code.
in the below code I set the source worksheet. now i want to set the range from the source sheet. when I enter the code i am not getting the range properties after dot.
please clarify what i have missed in VBA procedure.
Rich (BB code):
Sub pivot_test_2()
Dim source_st As Variant
Dim pivot_st As Variant
Dim pt As PivotTable
Dim start_rng As Variant
Dim data_rng As Variant
Set source_st = ThisWorkbook.Sheets(3)
Set pivot_st = ThisWorkbook.Worksheets(9)
set start_rng=source_st.
End Sub
Regards,
C.Mahavishnu
Last edited by a moderator: