topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 1:26 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nkormanik [ switch to compact view ]

Pages: prev1 ... 10 11 12 13 14 [15] 16 17 18 19 20 ... 23next
351
Found basically the same question here:

http://stackoverflow...-a-single-excel-file

With the following vba (?) code solution:

Sub FirstRow()
    Application.DisplayAlerts = False
    Dim strFilename As String
    Dim strPath As String
    Dim wbMaster As Workbook
    Dim wsMaster As Worksheet
    Dim wbFiles As Workbook
    Dim i As Integer

    i = 1
    Set wbMaster = ThisWorkbook
    Set wsMaster = wbMaster.Sheets(2)
    strPath = "C:\path\to\your\files\"
    strFilename = Dir(strPath & "*.xls")

    Do While strFilename <> ""
        Set wbFiles = Workbooks.Open(strPath & strFilename, False)
        wbFiles.Sheets(1).Rows(RowIndex:=1).Copy
        wsMaster.Cells(RowIndex:=i, ColumnIndex:=1).PasteSpecial Paste:=xlPasteAll
        wbFiles.Close (False)
        strFilename = Dir
        i = i + 1
    Loop
    Application.DisplayAlerts = True
End Sub

"A couple of things to note:
- You'll want to change the Sheet(x) references to the appropriate values for your needs
- Ensure there is a "\" at the end of strPath when you put in your own path
- I've turned DisplayAlerts to false during the execution to avoid a pop-up on every file asking if you want to clear the clipboard or not."


Unfortunately I don't understand how to use his solution.  Wish he had have given an example, or explained it more extensively.


352
I need to vertically concatenate around 100 Excel files (xls) -- using a program called "Merge Excel Files."

That program assumes all files are structured the same, same column headers extending across in each file.

I must double-check that, though.

Assume 100 xls files in a single folder.  I'd like to find a way to copy the first row -- the column headers -- of every xls file over into, say, a text file.  Then in a text editor (with word wrap off) I can easily peruse down making sure all column headers are as they should be -- each column in the text file will have only one particular label.

One possible solution would be to use Skwire's ClipTrap.  Load each of the 100 xls files one at a time, highlight the first row, copy.  But this would take some time.

Hoping someone can come up with an easier way.

Thanks.

Nicholas Kormanik


353
I've used c.gingerich's created program -- SubCopy -- a couple of times now, and it makes the task a piece of cake.

The great thing about these threads is that anyone searching the Internet trying to find a similar solution will probably be directed here.  Makes life a lot easier.

354
You folks are amazing.  Another one DONE!

Thanks so much.

355
Sure I'm open to an AutoHotkey solution.  Anything to easily get the job done.  And that might be useful to others.  Who knows.

If, though, the best bet would be to simply write a long batch file, I'll stick with that.

Thanks.

356
Say we have a subdirectory -- c:\1 -- that contains 100 folders.  We have a file on our desktop -- file.txt -- that we want to go into every single one of those folders.

We could write a 100-line batch file to do this.

Is there an easier way?  A one-liner?

Thanks!




357
Let's mark it DONE.  Thanks guys.

358
Announce Your Software/Service/Product / Re: SendURL
« on: March 27, 2013, 02:55 AM »
So far it looks fantastic.  Really looking forward to seeing what you have in mind.

Thanks much!


359
Looks like a really useful thrust.  Extremely glad to have you, Skwire, and everyone else here available.  Thank you all.


360
Nice attempt Stephen66515.  Your program does offer something that's hard to do -- open multiple URLs at once, across multiple tabs.

However, the present task is to just use ONE tab, and open URLs one at a time into the single tab, as needed, and moving on to the next URL in line (perhaps a hundred URLs in all) with a key press or mouse click.

While not a GUI, Skwire does this in his script.


361
Skwire, adding the extra sleep step did the magic.  I can attest we have a working solution here now.

Maybe someone can make a stand-alone tool.  But at least we have a way that works.  Thanks much, Skwire.



362
Ath, are you asking ME?  I wouldn't change ANYTHING except what is suggested.

I'm kinda clueless regarding AutoHotkey.

363
Increased sleep to 5000, and still the same problem.

What generally happens is that the h gets chopped off at the beginning of URLs.

So only:  ttps://plus.google.com/104410043740081757281

And that, of course, doesn't go to the intended site.


364
Skwire's solution worked fine with the example URLs he provided.

Unfortunately not so with my case:

myURLs =
(
https://plus.google....04262594301276893821
https://plus.google....04283716002131797428
https://plus.google....04309222535259801633
https://plus.google....04392019611590500945
https://plus.google....04410043740081757281
https://plus.google....04429427297929885544
https://plus.google....04479772621336105362
https://plus.google....04541959256591361052
https://plus.google....04575325257916010047
https://plus.google....04608435688900811644
https://plus.google....04612126840644619266
)
etc...

The URL box entry gets broken up.  Could be do to a number of things, like the additional search box on the webpage, or possibly a conflicting add-in loaded?

So, mission not quite accomplished.  Thanks mouser for keeping the thread active.

Possible enhancement requests, though, Squire, in case there's an easy solution to the above:

-- Allow a reference to a separate file that holds the URLs.  Such as, "c:\look at sites\url list.txt"  Instead of forcing user to edit the .ahk script file.

-- Allow for a longer list of URLs.  I got error messages that I had too many (when attempting a much longer list than that shown above).

-- Perhaps allow user to choose which key to use to go forward, for instance the insert key (though a nice addition, I don't care so much about being able to go backward).

Thanks.


365
Unless anyone has anything else to add, mark as done.

Thanks again, Skwire.  You sure come through.


366
Many people have asked that Flem be ported to Chrome.  For some reason the authors of Flem decided not to.

Thanks, Skwire, for the AHK script!


367
There is an add-in that does roughly the same in Firefox, called Flem.  But at present I prefer using Chrome.


368
Say we have a list of 100 URLs, and want to load these one at a time in Chrome.  Not in different tabs, but in the same tab.  Suppose that only one tab is needed, and only one tab will then be open.

I'd like to manually move through these URLs, spending as much time as I want on the opened page, then clicking or pressing a button and moving on to the next page.

Preferably the pages already visited can be deleted from the list, at some point.

Preferably the list can be saved, and brought up again, so that progress can be continued with the remaining URLs.

Preferably one can have more than one such list.

Thanks for suggestions, or possibly a program.

Nicholas Kormanik


369
N.A.N.Y. 2010 / Re: NANY 2010 Release: ClipTrap
« on: March 12, 2013, 02:51 AM »
I've noticed that with some "system tray icons" clicking once on them opens up their window, and clicking again makes the window disappear back to the system tray.

I wonder if that could be implemented in Cliptrap?

Thanks!


370
FileMenu Tools is good for adding in the offered utilities, or creating shortcuts to existing applications.  And it does allow you to put these into folders.  So, that's a good thing.

But I don't think FileMenu Tools allows you to put your present context menu items into sub-folders, and reposition out of the regular context menu.

What we need is some ingenious way to 'sub-folder' the existing mess.


371
For many of us, Explorer Context Menus are a mess.  Every other program we install wants to add something to them.  After this happens a few times limits are reached, existing context menu entries get bumped, no longer available, new ones get added that we don't want.

I periodically use a program (Glary Utilities, one of many that can do the same thing) to disable context menu entries I don't care about.  The disabled entries number at least 10X that of the enabled ones.

I've come across one commercial program, Moo0 RightClicker Pro,

(http://www.moo0.com/...ftware/RightClicker/)

that allows repositioning any and all context menu entries into separate sub-folders or sub-menus of the Explorer context menu.  Being able to do that seems a great idea.

I'm wondering if anyone knows of a free program capable of this, or if one can be made by someone here.

Thanks,
Nicholas Kormanik



372
Terrific, 4wd.

Hope this helps others as well.

Skwire, unless someone has more to add, another DONE.


373
Thanks 4wd.  Excellent approach.

Ath, while Swiss File Knife does a lot, I don't think it can do what's being asked.  But thanks for your suggestion.


374
Wondering if anyone knows of a present way, or perhaps it can be made.

I have a folder of text files, each in their own subfolders, and I want to place the following at the very bottom of each of the text files:

endsas;

Not necessary, but nice to put a blank line above, separating from rest of text.

Thanks much, folks.

Nicholas Kormanik


375
The program I liked best was...

http://www.nodesoft.com/searchandreplace

Did a super job.

Thanks for that suggestion!

So, Skwire, unless anyone has something else to add, this thread is done.


Pages: prev1 ... 10 11 12 13 14 [15] 16 17 18 19 20 ... 23next