Need the msgbox to alert when the 'last non-blank' in a column is '1' (or 'true') -- immediately after (or as part of) a refresh event of a querytable object importing a .txt file.
This is some code I came up with off the top of my head that, so far, doesn't work:
Sub SignalAlert()
Dim j, k...
Good Call Geoff !!!!
It's always the simple things!
I'll keep this in mind going forward.
Many Many thanks again Geoff (I'm going to have to start contributing $ soon!)
Tulip
(#$%&#$%&@$#^) --> This VB stuff is harder than it looks.
I've got two 800+ pg. manuals on VBE and I can't seem to get a simple text import macro to work the way I need it to.
Here's another approach (different manual):
************************
Sub ImportNewText()
Dim qt As QueryTable, ws...
Thank you for your time.
Sounds like it does what I had hoped -- if I can just get it to work.
Could it have something to do with the procedure being a macro? --It's as if changes to property settings have no bearing on this procedure...
.RefreshOnFileOpen = True
.TextFilePromptOnRefresh =...
The right side -- no hidden columns.
Let me as you though -- what exactly does it mean by 'fill'? Does it mean that it will actually 'fill' the adjacent cells with the formula from the row above it (as the text data is refreshed incrementally by row)? --or does it just tie into what needs to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.