Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webedit Issue
#3
Not Solved
Hi Subha,
Please try the below solutions and see if it works for you..

Solution #1:
Change the Customer Name in the data table every time before executing the script. But it might be operationally tedious.

Solution #2:
Programmatically we can do this using the Solution #2.
Note: In this code, you will get a unique name every time you run the script. It will have 19 characters.

Let me know if any queries.

'Code Starts Here
Code:
Dim ReqMonth,ReqDay,ReqYear,ReqHour,ReqMin,ReqSec,CustomerName

ReqMonth = Right("0" & DatePart("m",Date()), 2)
ReqDay = Right("0" & DatePart("d",Date()), 2)
ReqYear = DatePart("yyyy",Date())
ReqHour = Right("0" & DatePart("h",Time()), 2)
ReqMin = Right("0" & DatePart("n",Time()), 2)
ReqSec =Right("0" & DatePart("s",Time()), 2)
CustomerName =  "Subha" & ReqYear & ReqMonth & ReqDay & ReqHour & ReqMin & ReqSec
'Code Ends Here

Thanks and Regards,
Swami
Reply


Messages In This Thread
Webedit Issue - by Subha - 11-18-2011, 10:47 AM
RE: Webedit Issue - by vinod123 - 11-18-2011, 12:08 PM
RE: Webedit Issue - by v.swaminathan - 11-18-2011, 12:40 PM
RE: Webedit Issue - by Subha - 11-18-2011, 04:17 PM
RE: Webedit Issue - by Ankesh - 11-18-2011, 08:03 PM
RE: Webedit Issue - by supputuri - 11-18-2011, 08:40 PM
RE: Webedit Issue - by Subha - 11-22-2011, 05:19 PM
RE: Webedit Issue - by Gajre - 11-22-2011, 06:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)