Hi,
I am using VB 6.3 for excel and i have the foillowing code:
The problem is that when I re-run the program the sheet that gets created is incremented by 1, so renaming it doesn't work.
I tried using a wildcard for the numerical charactor (below), but it didn't work.
Does anyone have an idea for a solution that would make this work?
I am using VB 6.3 for excel and i have the foillowing code:
Code:
Sheets.Add Sheets("Sheet1").Select Sheets("Sheet1").Name = "Results"
I tried using a wildcard for the numerical charactor (below), but it didn't work.
Code:
Sheets.Add Sheets("Sheet*").Select Sheets("Sheet*").Name = "Results"
Comment