Jump to content

Using Input Boxes To Enter Data


Recommended Posts

I am trying to add some functionality to the script .What i am trying to do is to add input boxes in the script below.I have just gotten into vbscript and have tried few ways to do this but dont understand well enough.if someone could show me some code that i could add to my form i would appreciate itThanks

Set objExcel = CreateObject("Excel.Application")objExcel.Visible = TrueSet objWorkbook = objExcel.Workbooks.Add()Set objWorksheet = objWorkbook.Worksheets(1)objWorksheet.Cells(1,1) = 1objWorksheet.Cells(2,1) = 2objWorksheet.Cells(3,1) = 3objWorksheet.Cells(4,1) = 4objWorksheet.Cells(5,1) = 5Set objRange = objExcel.Range("A1")objRange.End(xlDown).ActivateintNewRow = objExcel.ActiveCell.Row + 1strNewCell = "A" &  intNewRowobjExcel.Range(strNewCell).Activate

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...